[Numpy-tickets] [NumPy] #852: Avoid temporary files when writing NPZ files.

NumPy numpy-tickets@scipy....
Tue Oct 28 03:40:13 CDT 2008


#852: Avoid temporary files when writing NPZ files.
-----------------------+----------------------------------------------------
 Reporter:  rkern      |        Owner:  rkern
     Type:  defect     |       Status:  new  
 Priority:  high       |    Milestone:  1.3.0
Component:  numpy.lib  |      Version:  devel
 Severity:  normal     |   Resolution:       
 Keywords:             |  
-----------------------+----------------------------------------------------
Comment (by Zbyszek_Szmek):

 Two simple patches to explore the two possibilites: in-memory or on-disk.
 On my memory-starved machine (Celeron 1300 MHz, 300MB RAM) in-memory is
 slower than on-disk.
 To save three arrays (zeros(1000x1000), ones(1000x1000), rand(1000x1000)),
 it takes ~1.05s on-disk, and ~1.2 in-mem.

-- 
Ticket URL: <http://scipy.org/scipy/numpy/ticket/852#comment:1>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list