Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I quickly skimmed over OP's previous posts and I don't think they mention it. According to [0], CPython's GC is ran every X instructions (not sure how up to date the source is).

From this, I guess CPython opted for simplicity instead of implementing something like a memory-usage monitor.

[0] https://realpython.com/cpython-source-code-guide/#garbage-co...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: