About alternatives to Matlab
Jon Harrop
jon at ffconsultancy.com
Fri Dec 15 11:56:31 EST 2006
sturlamolden wrote:
> Jon Harrop wrote:
>> Yes. The time taken is dominated by memory accesses. The amount of
>> arithmetic is almost irrelevant.
>
> That is extremely interesting. It would explain why I see almost the
> same performance in NumPy and Fortran 95 on this kind of task, using
> array slicing in both languages.
Yes. Non-sequential access is hugely expensive these days, and bounds
checking is virtually free. So that's one less reason to use C/C++... ;-)
--
Dr Jon D Harrop, Flying Frog Consultancy
Objective CAML for Scientists
http://www.ffconsultancy.com/products/ocaml_for_scientists/index.html?usenet
More information about the Python-list
mailing list