Skip to content

booherbg/Python-Optimizations

Repository files navigation

Blaine Booher
Feb 20 2012

Put together for a presentation I'm doing on CincyPy titled
"Optimizing Python".

It's meant to showcase the wide variety of choice that we 
have in making python faster...

Check out benchmark.py for hints on how to run everything.
There is a branch titled "outer_loop" that shows what 
happens when you take the 1,000,000 loop from inside Fib()
and move it to the calling routine. This helps some, hurts
others, and surprisingly makes unladen swallow actually
work...

Sorry for sparse documentation, hopefully more to come.

This does not include all options. SwiG is not included,
and I couldn't get berp or shedskin to work properly. 
Also unladen swallow is acting up on my install, not
sure why.

-Blaine bgbooher@gmail.com

About

Playing with ctypes, cython, jython, C, C++, etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published