Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-performance
On Saturday 12 June 2004 4:19 pm, Sri Gupta wrote:
> Try using a JIT-style python compiler.
>
> #emerge psyco
> #nano -w `which emerge`
>
The first problem with this is that it's architecture-specific. (think in
terms of Java Runtime Environments and this will make sense).
You will notice that psyco is available only on x86. Also Psyco only looks
for stuff it knows how to optimize, which are some selective operations.
In theory someday it will optimize more, and be available on more
architectures, but that doesn't really buy Gentoo much today... since it's
totally locked in on x86.
Psyco does improve speed somewhat, as it relates to Portage anyway, but
nothing substantial. Psyco is noticeable in situations where there are a
lot of complicated loops that cycle many times over at least a few minutes
(when running in normal interpreted mode). The better improvements will
come from optimizing the algorithms, not tweaking the runtime.
Cheers,
Dylan Carlson [absinthe@g.o]
Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x708E165F
--
gentoo-performance@g.o mailing list
|
|