Re: [Python-Dev] Faster list comprehensions

2006-03-03 Thread Raymond Hettinger
[Collin Winter] > I've just posted a patch to SF (python.org/sf/1442442) that I thought > I'd bring to everyone's attention. Executive summary: by changing the > behaviour of the unused LIST_APPEND opcode, it's possible to get a 16% > speed boost for list comprehensions. That was working fine in P

[Python-Dev] Faster list comprehensions

2006-03-03 Thread Collin Winter
Hello all, I've just posted a patch to SF (python.org/sf/1442442) that I thought I'd bring to everyone's attention. Executive summary: by changing the behaviour of the unused LIST_APPEND opcode, it's possible to get a 16% speed boost for list comprehensions. Currently, list comprehensions are bui