News for hackers. Stuff that matters.
Re:How fast can we make interpreted Python? by iskander on Tuesday June 25, 2013 @11:32PM (#5944023)
The ponderousness of these data structures isn't just about memory consumption or having to use boxed numbers. As far as performance goes, PyObjects infect everything in the interpreter. For example, when you're calling a Python function, after a long run-around in ceval, PyObject_Call, the function object's function_call method, you'll finally get back to ceval which creates a frame via a lengthy call to PyFrame_New. The whole process is a mess of allocating, deconstructing, increfing, decrefing, and tag-checking.

There are no comments on this comment yet.