diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2015-12-17 13:49:52 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2015-12-17 13:49:52 -0700 |
commit | eaad7e8f3d9ebd0c85106e12b88f36f286941e1a (patch) | |
tree | 9a31f931bf977e01cf82e808b8e9fec0d40b0973 /doc | |
parent | 6e4e60140025190023fe96302949faa5f15c846a (diff) | |
parent | 0757b34754aa7543576737d07ecdd9a14b7a23ca (diff) | |
download | numpy-eaad7e8f3d9ebd0c85106e12b88f36f286941e1a.tar.gz |
Merge pull request #6851 from charris/rebase-gh-6692
Rebase gh 6692, ENH: use linux fallocate to reserve diskspace in array.tofile
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release/1.11.0-notes.rst | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/release/1.11.0-notes.rst b/doc/release/1.11.0-notes.rst index e7b9c57e2..7790ac58f 100644 --- a/doc/release/1.11.0-notes.rst +++ b/doc/release/1.11.0-notes.rst @@ -82,12 +82,12 @@ Improvements ============ *np.gradient* now supports an ``axis`` argument -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The ``axis`` parameter was added to *np.gradient* for consistency. It allows to specify over which axes the gradient is calculated. *np.lexsort* now supports arrays with object data-type -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The function now internally calls the generic ``npy_amergesort`` when the type does not implement a merge-sort kind of ``argsort`` method. @@ -99,6 +99,11 @@ Creating a masked array with ``mask=True`` (resp. ``mask=False``) now uses a big memory peak. Another optimization was done to avoid a memory peak and useless computations when printing a masked array. +*ndarray.tofile* now uses fallocate on linux +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +The function now uses the fallocate system call to reserve sufficient +diskspace on filesystems that support it. + Changes ======= |