Hi, 2012/5/27 Makoto Kuwata <[email protected]>
> I must say again: I agree to PyPy dev team's decision and I'll try other > approach to make my product faster on PyPy as well as CPython. > I don't have any intention to blame PyPy. It's awesome software. > It's not a "team's decision"; PyPy is faster because most of the time, it avoids building the dictionary of local variables, and sometimes not allocate local objects at all. Or said the other way round: CPython is slower because it always builds and maintains these objects. By accessing f_locals, your code explicitly requires this dictionary to be built, which effectively voids all the optimizations above. -- Amaury Forgeot d'Arc
_______________________________________________ pypy-dev mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-dev
