3 ms·
But it's still garbage collected. And GC should be done by the python interpreter proper, so it would be in native code.
by yjftsjthsd-h 6y ago
But it's still garbage collected. And GC should be done by the python interpreter proper, so it would be in native code.
- pjmlp 6y agoA tiny portion of Python's total execution time.
- yjftsjthsd-h 6y agoDon't get me wrong; I expect Go to be far more performant than Python. Just, they're both garbage-collected, and I have no reason to expect GC perf (specifically) to differ.
- pjmlp 6y agoWhich just shows that learning about GC algorithms is a must. http://gchandbook.org/ http://gchandbook.org/ And the differences between value types, AOT compiled code execution, bytecode interpreters and FFI marshalling costs between bytecode interpreters and native libraries.