Most of my posts are about Python's internals and some security stuff
140 karma · joined August 9, 2015
Most of my posts are about Python's internals and some security stuff
"GET /counter.svg HTTP/1.1" 200 565 "-" "github-camo (62249a1c)"
I've reverted the badge.I also don't have plans to use it in the future. I wanted to demonstrate the concept.
Which framework do you use for deep learning? It can allocate some object on its own.
Can you give me some stats when using a model and after it's no longer in use and can't be accessible? You can get it by calling the sys._debugmallocstats() function.
I don't think system allocators are clever enough to process and allocate 100-500k of very small objects each minute when Python is performing something very intensive.
It's a pretty standard way to speedup allocation for dynamic languages. Game developers use similar techniques as well.
I have some stats on Python's allocator:
https://rushter.com/blog/python-object-allocation-statistics...