client-server parallellised number crunching
Dan Stromberg
drsalists at gmail.com
Tue Apr 26 16:33:25 EDT 2011
On Tue, Apr 26, 2011 at 1:20 PM, Chris Angelico <rosuav at 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.
More information about the Python-list
mailing list