Generating my second replacement image is taking so long that I had to find out how to use the Python profiler to determine the bottleneck. Accordingly, I removed my calls to complex_multiply and complex_add, using instead the built-in support for complex numbers. That, with the addition of Psyco, seems to have helped.

Back to blog or home page

last updated 2013-01-10 21:01:25. served from tektonic.jcomeau.com