The way to a faster python [was Python IS slow !]

Fredrik Lundh fredrik at pythonware.com
Tue May 4 08:55:55 EDT 1999


Markus Kohler wrote:
> 1. One can use a dispatch table instead of a case statement by using
> an extension of gnu C. For squeak (www.squeak.org) that gave me a speedup
> of almost a factor of 2 in message sending speed on a HP-UX machine.
> The statement used is a goto(address). Some other C compilers might be 
> able to do that as well, and for those you don't have it the old code
> should still be there. 

http://starship.skyport.net/crew/vlad/archive/threaded_code/

</F>





More information about the Python-list mailing list