pointless musings on performance
benjamin at python.org
Tue Nov 24 23:08:19 CET 2009
Tim Wintle <tim.wintle <at> teamrubber.com> writes:
> Out of interest - has anyone else spotted that the call to
> PyObject_IsTrue in the XXX_JUMP_IF_YYYY blocks performs two unnecessary
> pointer comparisons?
I doubt two pointer comparisons will make much of a difference.
> Would it be worth in-lining the remaining part of PyObject_IsTrue in
Inlining by hand is prone to error and maintainability problems.
More information about the Python-list