[Python] 메모리 관리 (memory allocation)
2022. 1. 26. 13:21
C/C++은 정적 할당 stack에, 동적 할당 heap에 (내 블로그 글 참고)
Java는 모조리 heap에
Python은 어떻게 메모리를 handling할까? 한번도 생각 안해봤기에 궁금해졌다.
기초
"Everything is an object in Python"
https://jakevdp.github.io/WhirlwindTourOfPython/03-semantics-variables.html
"Python memory management" 검색
https://leemoney93.tistory.com/25
https://www.youtube.com/watch?v=arxWaw-E8QQ
'<언어> > [Python]' 카테고리의 다른 글
[Python] implementation 이해 (CPython, Jython, PyPy, ...) (0) | 2022.01.26 |
---|---|
argparse로 CLI argument, flag 구현 (0) | 2021.11.12 |
lambda scope capture 주의할 점 (0) | 2021.09.10 |
[Generator] yield, yield from (0) | 2021.08.24 |
[Tesseract][OpenCV] 코드 이미지 OCR + 자동 indent (0) | 2021.07.10 |