Luiji Maryo, 30.06.2010 06:55: > For a project I am working on I am creating a super-optimized Python > distrobution of which I hope will reach heights of 10,000 times faster > code.
Good luck. I don't mean to discourage you, but this is a pretty ambitious goal. Could you tell us more about the project background? > What I am planning to do is bundle Psyco with a refactor of the > Standard Python Library. The refactor is to be a modified version > where I use optimization abilities from Cython like CDEFs to increase > code speed, after which I will compile it all into native machine code > modules. > > My inquisitions are: > - Has this already been done? Certainly not. Even with the soon-to-be-released Cython 0.13 (cython-closures branch), most stdlib modules won't compile without modifications. That being said, I'd appreciate seeing pure Python typing additions to a couple of stdlib modules to speed them up. This is something that can often be done with little source code impact, so that you can keep your maintenance overhead low. > - Do people have any suggestions (such as using something other then Psyco). You should also look at the recent developments around CPython, especially Unladen Swallow. Besides a couple of other improvements, they're building a JIT compiled backend that is currently scheduled for integration into Python 3.3. However, I'm sure there are modules in the stdlib that can benefit a lot more from Cython compilation than from the current state of JIT compilation in CPython. Stefan _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
