Texonom
Texonom
/
Engineering
Engineering
/Software Engineering/Programming/Programming Language/Programming Languages/4GL/
Python
Python
/
Python GC
Search

Python GC

Creator
Creator
Seonglae Cho
Created
Created
2021 Jul 23 8:21
Editor
Editor
Seonglae Cho
Edited
Edited
2021 Dec 10 14:10
Refs
Refs
gc 파이썬 공식문서에서도 순환 참조를 만들지 않는다고 확신할 수 있으면 gc.disable()을 통해 garbage collector 를 비활성화 시켜도 된다
 
 
 
Interview_Question_for_Beginner/Python at master · JaeYeopHan/Interview_Question_for_Beginner
Generator(제네레이터)는 제네레이터 함수가 호출될 때 반환되는 iterator(이터레이터)의 일종이다. 제네레이터 함수는 일반적인 함수와 비슷하게 생겼지만 yield 구문 을 사용해 데이터를 원하는 시점에 반환하고 처리를 다시 시작할 수 있다. 일반적인 함수는 진입점이 하나라면 제네레이터는 진입점이 여러개라고 생각할 수 있다. 이러한 특성때문에 제네레이터를 사용하면 원하는 시점에 원하는 데이터를 받을 수 있게된다.
Interview_Question_for_Beginner/Python at master · JaeYeopHan/Interview_Question_for_Beginner
https://github.com/JaeYeopHan/Interview_Question_for_Beginner/tree/master/Python#celery
Interview_Question_for_Beginner/Python at master · JaeYeopHan/Interview_Question_for_Beginner
 
 
 
 
cpython/gcmodule.c at main · python/cpython
The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
cpython/gcmodule.c at main · python/cpython
https://github.com/python/cpython/blob/main/Modules/gcmodule.c#L832-L836
cpython/gcmodule.c at main · python/cpython
 
 
 
 

Backlinks

PyStack

Recommendations

Texonom
Texonom
/
Engineering
Engineering
/Software Engineering/Programming/Programming Language/Programming Languages/4GL/
Python
Python
/
Python GC
Copyright Seonglae Cho