pointless musings on performance
Benjamin Peterson
benjamin at python.org
Tue Nov 24 17:08:19 EST 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
> ceval?
Inlining by hand is prone to error and maintainability problems.
More information about the Python-list
mailing list