>the debug version of the C program. The release version showed it was > about 12x faster than Python, with a smaller memory footprint. Can you please check out a test run with psyco? psyco.sourceforge.net at the beginning of your programm import psyco psyco.full() Would be interested in the speed differences...