help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need a faster way of reading files.


From: Judd Storrs
Subject: Re: Need a faster way of reading files.
Date: Wed, 2 Jun 2010 13:59:48 -0400

2010/6/2 Jordi Gutiérrez Hermoso <address@hidden>:
> I'm curious what SciPy is doing, though... can you benchmark its
> memory consumption while it's doing this? If it's using a lot more
> memory than Octave, I can imagine what sort of thing it's doing in
> exchange for speed.

I think it's possible that scipy just reads in the entire stream of
numbers from the file and sets dimensions/transposes later. IIRC the
numpy array model is able to defer actual reformatting of memory
blocks caused by transpositions until absolutely necessary. I'm not
sure if octave's array model is as flexable.


--judd



reply via email to

[Prev in Thread] Current Thread [Next in Thread]