On Tue, Apr 26, 2011 at 1:20 PM, Chris Angelico <ros...@gmail.com> wrote:

> But question: Why are you doing major number crunching in Python? On
> your quad-core machine, recode in C and see if you can do the whole
> job without bothering the unreliable boxen at all.

Hmm, or try Cython or PyPy.  ^_^

Here's that graph again:
http://stromberg.dnsalias.org/~dstromberg/backshift/performance/

I'd suggest that rewriting an entire software system in C because of
one inner loop, is overkill.  'better to rewrite just the inner loop
(if needed after profiling), and leave the rest in Python.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to