From: fredrik at pythonware.com (Fredrik Lundh)
Date: Tue, 4 May 1999 12:55:55 GMT
Subject: The way to a faster python [was Python IS slow !]
References: <p56769krev.fsf@bidra241.bbn.hp.com>
Message-ID: <005701be962d$7416f970$f29b12c2@pythonware.com>
X-UID: 1737                                                

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>





