29 Sep
2004
29 Sep
'04
8:21 p.m.
[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 ... holger