tallforasmurf / PPQT

A post-processing tool for PGDP written in Python, PyQt4, and Qt
GNU General Public License v3.0
4 stars 2 forks source link

Use Cython, blist etc for performance #127

Open tallforasmurf opened 11 years ago

tallforasmurf commented 11 years ago

http://docs.cython.org/

Not clear if PyQt calls can be handled by Cython. However it should be possible to arrange the code so that certain high-intensity operations can be done in compiled C code.

Note this requires finally setting up a proper Makefile that would do any needed compiles on the active platform (mac/win/linux) and then call pyinstaller.

https://pypi.python.org/pypi/blist/1.3.4 Blist.sortedlist will do very well for the word and possibly other lists.

tallforasmurf commented 10 years ago

Also, slots (http://docs.python.org/2.7/reference/datamodel.html?highlight=__slots__#__slots__)