[pypy-dev] Bytecode counting patch
Michael Hudson
mwh at python.net
Mon Aug 7 18:50:11 CEST 2006
Eric van Riet Paap <eric at vanrietpaap.nl> writes:
> Hi Ben,
>
> It's nice to know what opcodes are popular! However, sorting them in
> whatever order within a switch will likely not make a difference.
> This switch will be converted to a jumptable, so the compiler will
> order the cases again.
Unclear; similar rearrangements made a noticeable difference in
CPython a few years back (I think, anyway).
Cheers,
mwh
--
<datazone> okay, tell me if i am crazy
<Yosomono> you are
<datazone> damn -- from Twisted.Quotes
More information about the Pypy-dev
mailing list