[Python-Dev] Can LOAD_GLOBAL be optimized to a simple arraylookup?
martin at v.loewis.de
martin at v.loewis.de
Thu Aug 24 16:30:11 CEST 2006
Zitat von "K.S.Sreeram" <sreeram at tachyontech.net>:
> How about this approach:
> (disclaimer: this is just a rough sketch!)
This is actually the problem. There are many fine details which
can affect performance and correctness. So about there are only
two sensible ideas to treat such ideas: either implement them,
or ignore them.
If you think your approach could work, please try to implement
it. It's not that anybody is objecting the goal; there is just
debate about the feasibility of the implementation.
So if you can come up with an implementation, we are in a much
better position to praise or criticise the approach: it then
becomes possible to study whether the implementation is really
compatible with the current Python, and whether it really does
improve performance.
Regards,
Martin
More information about the Python-Dev
mailing list