+ 2

How does Python handle memory management?

16th Jan 2024, 11:30 PM
SATYAM MORNINGSTAR STARK
SATYAM MORNINGSTAR STARK - avatar
2 Answers
+ 1
reference counting and garbage collector?
17th Jan 2024, 8:28 AM
Bob_Li
Bob_Li - avatar
+ 1
SATYAM MORNINGSTAR , It's an implementation detail that can be delayed or omitted, as long as nothing in use is prematurely recycled. However, in the most used implementation, CPython, it's apparently quite fast and efficient. https://www.sololearn.com/Discuss/3259635/?ref=app
17th Jan 2024, 2:34 PM
Rain
Rain - avatar