Re: [Python-Dev] opcode dispatch optimization

2009-01-02 Thread Nicolas Trangez
On Wed, 2008-12-31 at 12:51 -0600, Jason Orendorff wrote: On Wed, Dec 31, 2008 at 11:44 AM, Christian Heimes li...@cheimes.de wrote: The patch makes use of a GCC feature where labels can be used as values: http://gcc.gnu.org/onlinedocs/gcc/Labels-as-Values.html . I didn't know about the

Re: [Python-Dev] opcode dispatch optimization

2008-12-31 Thread Antoine Pitrou
Antoine Pitrou solipsis at pitrou.net writes: I would like to mention that I've written a patch which enables threaded interpretation ... and I forgot to give the URL: http://bugs.python.org/issue4753 Regards Antoine. ___ Python-Dev mailing list

Re: [Python-Dev] opcode dispatch optimization

2008-12-31 Thread Christian Heimes
Antoine Pitrou wrote: I would like to mention that I've written a patch which enables threaded interpretation on the ceval loop with gcc (*). On my computer (an Athlon X2 3600+), it is good for a 15-20% speedup of the interpreter on pystone and pybench. I also had the opportunity to test it on

Re: [Python-Dev] opcode dispatch optimization

2008-12-31 Thread Jason Orendorff
On Wed, Dec 31, 2008 at 11:44 AM, Christian Heimes li...@cheimes.de wrote: The patch makes use of a GCC feature where labels can be used as values: http://gcc.gnu.org/onlinedocs/gcc/Labels-as-Values.html . I didn't know about the feature and got confused by the unary operator. Right.