[cpython] CPython의 PySet_Contains 최적화: Lock-Free 탐색 도입으로 성능 향상CPython의 PySet_Contains 함수에 Lock-Free 탐색을 도입하여 성능을 개선한 PR 분석.#CPython#Python Internals#Performance Optimization#Lock-Free#Concurrency2026년 4월 3일댓글 수 로딩 중
[CPython] SyntaxError 재초기화 시 메모리 누수 수정SyntaxError 객체를 __init__으로 재초기화할 때 기존 속성의 참조가 해제되지 않아 발생하던 메모리 누수를 Py_XSETREF로 수정한 분석.#CPython#SyntaxError#Memory Leak#Reference Counting#Bug Fix#C2026년 3월 30일댓글 수 로딩 중
[CPython 3.13] SyntaxError 재초기화 시 메모리 누수 수정 (backport)SyntaxError __init__ 재호출 시 기존 속성의 참조가 누수되던 문제를 Py_XSETREF로 수정한 3.13 backport 분석.#CPython#SyntaxError#Memory Leak#Backport#Bug Fix#C2026년 3월 30일댓글 수 로딩 중
[CPython] dict 접근 최적화: known hash를 활용한 중복 해시 계산 제거CPython의 dict 자료구조에서 이미 알고 있는 hash 값을 활용하여 중복 해시 연산을 제거하는 JIT/인터프리터 최적화 분석.#CPython#Performance#Dict#JIT#Optimization#C2026년 3월 30일댓글 수 로딩 중
[CPython] sqlite3 콜백 컨텍스트의 메모리 관리 버그 수정sqlite3 모듈의 내부 callback context 메모리 관리 결함을 수정하여 MemoryError 대신 SystemError가 발생하던 문제와 SQLITE_BUSY 시 crash를 해결한 분석.#CPython#sqlite3#Memory Management#Bug Fix#C2026년 3월 29일댓글 수 로딩 중
[CPython 3.14] asyncio.Queue docstring의 모호한 표현 수정 (backport)asyncio.Queue docstring에서 'standard library Queue'를 'queue.Queue'로 변경한 3.14 backport 분석.#CPython#asyncio#Documentation#Backport#Python2026년 3월 28일댓글 수 로딩 중
[CPython 3.13] asyncio.Queue docstring의 모호한 표현 수정 (backport)asyncio.Queue docstring에서 'standard library Queue'를 'queue.Queue'로 변경한 3.13 backport 분석.#CPython#asyncio#Documentation#Backport#Python2026년 3월 28일댓글 수 로딩 중
[CPython] asyncio.Queue docstring의 모호한 'standard library Queue' 표현 수정asyncio.Queue docstring에서 'standard library Queue'라는 모호한 표현을 명확한 'queue.Queue'로 변경한 분석.#CPython#asyncio#Documentation#Python2026년 3월 28일댓글 수 로딩 중
[CPython] 64-bit ARM 커널에서 32-bit ARM Android의 sysconfig ABI 감지 수정armv8l 머신에서 Python sysconfig가 잘못된 ABI를 반환하던 문제를 수정한 CPython 패치 분석.#CPython#Android#ARM#sysconfig#Bug Fix#Python2026년 3월 27일댓글 수 로딩 중
[CPython 3.14] OrderedDict.popitem() 메모리 누수 수정 (backport)OrderedDict popitem()에서 에러 경로의 Py_DECREF(key) 누락으로 인한 메모리 누수를 수정한 3.14 backport 분석.#CPython#OrderedDict#Memory Leak#Backport#Bug Fix#C2026년 3월 27일댓글 수 로딩 중
[CPython] OrderedDict.popitem()의 메모리 누수 수정OrderedDict의 popitem() 메서드에서 에러 경로에서 key 참조를 해제하지 않아 발생하던 메모리 누수를 수정한 분석.#CPython#OrderedDict#Memory Leak#Bug Fix#C#Reference Counting2026년 3월 27일댓글 수 로딩 중
[CPython] JIT stencil에서 frame pointer 보존 검증 추가CPython JIT 컴파일러가 생성하는 stencil 코드에서 frame pointer가 올바르게 보존되는지 검증하는 validation 로직 분석.#CPython#JIT#Frame Pointer#Debugging#Profiling#AArch64#x862026년 3월 27일댓글 수 로딩 중
[CPython] AArch64 JIT stencil에서 frame pointer 예약 활성화AArch64 Linux 환경의 CPython JIT에서 frame pointer를 reserved로 설정하여 네이티브 프로파일러 호환성을 확보한 분석.#CPython#JIT#AArch64#Frame Pointer#Profiling#Linux2026년 3월 27일댓글 수 로딩 중
[CPython 3.13] pickle fast_save_enter() 테스트 정리 (backport)pickle 모듈의 fast_save 테스트에서 불필요한 dict wrapper와 seed 매개변수를 제거한 3.13 backport 분석.#CPython#pickle#Testing#Backport#Refactoring#Python2026년 3월 27일댓글 수 로딩 중
[CPython] pickle fast_save_enter() 테스트 정리 및 불필요한 wrapper 제거pickle 모듈의 fast_save 관련 테스트에서 불필요한 dict wrapper를 제거하고 deep_nested_struct의 seed 매개변수를 제거하여 테스트를 단순화한 분석.#CPython#pickle#Testing#Refactoring#Python2026년 3월 26일댓글 수 로딩 중
[cpython] CPython JIT 최적화: Float 연산의 In-place 변환을 통한 성능 향상CPython JIT의 Tier 2 옵티마이저에서 고유 참조된 Float 피연산자를 In-place로 변환하여 메모리 할당을 줄이고 성능을 개선하는 방법.#CPython#JIT#Optimization#Python Internals#Performance2026년 3월 24일댓글 수 로딩 중
[CPython] JIT float 연산 최적화 — 유일 참조 피연산자 재사용CPython JIT에서 유일 참조 float 객체를 in-place 변경하여 메모리 할당을 제거한다#CPython#JIT#Optimization#Float2026년 3월 24일댓글 수 로딩 중
[CPython] PEP 810 -- CPython에 명시적 Lazy Import 구현lazy 소프트 키워드로 import 시점을 지연시켜 Python 시작 시간을 단축하는 PEP 810 구현 분석#Python#CPython#Performance#Import System2026년 2월 12일댓글 수 로딩 중
[CPython] subprocess.Popen.wait() 이벤트 기반 구현으로 효율성 개선Linux pidfd_open과 macOS kqueue를 활용해 subprocess.Popen.wait()의 busy loop를 이벤트 기반으로 전환#Python#CPython#subprocess#System Programming2026년 1월 28일댓글 수 로딩 중
[cpython] gh-124951: base64 인코딩/디코딩 2~3배 속도 향상 — CPU 파이프라이닝 최적화lookup table 정렬과 loop-carried dependency 제거로 base64 처리 속도를 2~3배 개선#Python#CPython#Performance#base64#C2026년 1월 2일댓글 수 로딩 중
[CPython] CPython RemoteUnwinder 프레임 캐싱으로 메모리 읽기 최적화last_profiled_frame 포인터와 프레임 캐시로 원격 프로파일링 시 메모리 읽기를 대폭 줄이는 최적화#Python#CPython#Profiling#Performance2025년 12월 6일댓글 수 로딩 중
[cpython] CPython의 새로운 Tracing JIT 컴파일러 프론트엔드trace projection에서 trace recording 모델로 전환하여 pyperformance 1.7% 향상, Richards 100% 가속#CPython#JIT Compiler#Trace Recording#Performance2025년 11월 13일댓글 수 로딩 중