Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15155 - Psyco in short: run your existing Python software much faster, with no change in your source.
Summary: Psyco in short: run your existing Python software much faster, with no change...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Bart Lauwers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-05 04:20 UTC by Rigo
Modified: 2003-04-19 19:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
psyco-0.5.ebuild (psyco-0.5.ebuild,860 bytes, application/octet-stream)
2003-02-05 04:21 UTC, Rigo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rigo 2003-02-05 04:20:18 UTC
Hi all,

there were some theads on the mailinglist about speedup in Searches...While
checking out the new blendersite, I cam across this:

<SNIP>
In short: run your existing Python software much faster, with no change in your
source.

Think of Psyco as a kind of just-in-time (JIT) compiler, a little bit like
Java's, that emit machine code on the fly instead of interpreting your Python
program step by step. The result is that your unmodified Python programs run faster.

Benefits

    2x to 100x speed-ups, typically 4x, with an unmodified Python interpreter
and unmodified source code, just a dynamically loadable C extension module.

Drawbacks

    Psyco currently uses quite a lot of memory. It only runs on Intel
386-compatible processors (under any OS) right now. There are some subtle
semantic differences (i.e. bugs) with the way Python works; they should not be
apparent in most programs.
</SNIP>

I included an ebuild (CVS) for psyco, but have to idea how to implement/test
this with f.i. emerge -S/s ...Anybody up 4 testing ?

Rogi
Comment 1 Rigo 2003-02-05 04:21:10 UTC
Created attachment 7944 [details]
psyco-0.5.ebuild
Comment 2 Bart Lauwers (RETIRED) gentoo-dev 2003-04-19 19:54:10 UTC
Hi I've added an ebuild for psyco version 1.0.0b1 to CVS. Please allow some time for your mirror to carry it as usual the ebuild is ~masked.