performance problem in python 2.2

Paul Rubin phr-n2002b at NOSPAMnightsong.com
Fri Jul 26 19:33:44 EDT 2002


Fernando Perez <fperez528 at yahoo.com> writes:
> The fact that one may spend a year's worth of cpu in computing an
> expression for which an analytic solution exists is orthogonal to
> the point I was making.

It's a different point, yes, but related.  Point 1, rather than bend
backwards trying to optimize Python or Perl, write cpu-intensive
code in a language that's closer to the machine.  Point 2, rather
than bending backwards writing efficient cpu-intensive code, look
for a non-cpu-intensive way to solve your problem.




More information about the Python-list mailing list