Use Jython to make true executable?
Carl Fink
carlf at panix.com
Sun Jun 10 13:31:43 EDT 2001
In article <m3bsnwv2p4.fsf at atrus.jesus.cam.ac.uk>, Michael Hudson wrote:
> This is very unlikely to speed things up as much as you expect. I've
> never produced accurate numbers, but I'm fairly sure Python's runtime
> is dominated by locating applicable methods, not the dispatch loop in
> ceval.c. If you could analyse a program sufficently to compute (some
> of) these methods at compile time, *then* you might start to see a
> real speed up (especially if this let you unbox some integers &
> floats).
Yeah, but Jython/gcc wouldn't involve ceval.c at all, would it? I
mean, presumably gcc would compile the methods themselves, and in an
optimized manner.
--
Carl Fink carlf at dm.net
More information about the Python-list
mailing list