Python is slow?
sturlamolden at yahoo.no
Tue Sep 23 20:07:22 CEST 2008
On Sep 23, 3:44 pm, Robert Singer <rsinger at ____.com> wrote:
> Well, python is not a number crunching language. However much we would
> like it to be (we would ? :-).
> No scripting language is.
Not even Matlab, R, IDL, Octave, SciLab, S-PLUS or Mathematica?
> Before resorting to rewriting the problem try psyco. It speeds up
> things sometimes.
I did, Psyco did not help.
> Also, (I'm not that familiar with python yet, so I don't know how to
> do it in python), try finding the bottlenecks of your calculation.
I did use a profiler, there is no particular single bottle-neck.
> Well, personally, I try to combine fortran (being a fortran programmer
> by trade) with python
Good compilers are too expensive, and gfortran is not good enough yet.
More information about the Python-list