[pypy-dev] Python 2.4a3
hpk at trillke.net
Wed Sep 29 22:21:25 CEST 2004
[Armin Rigo Wed, Sep 29, 2004 at 09:13:35PM +0100]
> < for op in range(256): opname[op] = '<' + `op` + '>'
> > for op in range(256): opname[op] = '<%r>' % (op,)
is there a deeper reason for this change, btw?
> As it happens, string formatting is *really* *slow* in PyPy now. Every one
> takes about 1 second! So importing opcode.py takes several minutes.
> Quoting Michael, "time to make string formatting faster".
which probably means to reimplement it at interpreter level ...
which might be cumbersome but then it might be straight forward ...
More information about the Pypy-dev