Back to the reality. After clearing the cache using Warren's suggestion: In [1]: timeit -n1 -r1 a = np.fromfile('temp.npa', dtype=np.uint16) 1 loops, best of 1: 7.23 s per loop
On Wed, Aug 3, 2011 at 4:52 PM, Eric Firing <efir...@hawaii.edu> wrote: > On 08/03/2011 11:24 AM, Gökhan Sever wrote: > > > I[1]: timeit a = np.fromfile('temp.npa', dtype=np.uint16) > > 1 loops, best of 3: 263 ms per loop > > You need to clear your cache and then run timeit with options "-n1 -r1". > > Eric > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http://mail.scipy.org/mailman/listinfo/numpy-discussion > -- Gökhan
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion