Easy function, please help.

alex23 wuwei23 at gmail.com
Thu Feb 10 22:34:36 EST 2011


rantingrick <rantingr... at gmail.com> wrote:
> 1. When has 2 bytecode instructions EVER out weighed a solid
> readability feature's incorporation into Python?

The original point was whether or not the code is identical, which
Terry showed it was not.

> The load constant should only happen once. The
> COMPARE_OP could be called "an extra step" but such a little problem
> can easily be optimized away on the CPython side of things.

Looking forward to seeing your patch.



More information about the Python-list mailing list