Question about scientific calculations in Python

William Park opengeometry at yahoo.ca
Wed Mar 13 12:31:00 EST 2002


On Tue, Mar 12, 2002 at 11:36:05PM -0600, Jason Orendorff wrote:
> I benchmarked it; results:
> 
>   plain Python: 8.557 sec
>   optimized Python: 2.325 sec
>   Numeric Python: 0.753 sec
> 
> This is for 1000 numbers in both s_vector and r_vector.

But, did you factor in development time?  Even with 10sec runtime, you
can run it 8640 times in a day.

-- 
William Park, Open Geometry Consulting, <opengeometry at yahoo.ca>
8 CPU cluster, NAS, (Slackware) Linux, Python, LaTeX, Vim, Mutt, Tin




More information about the Python-list mailing list