summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-05-19 12:50:28 -0700
committerCharles Harris <charlesr.harris@gmail.com>2013-05-19 12:50:28 -0700
commit7d188bf1c9ac5bf7ee41e0794d59771802b345bf (patch)
tree605f132a740aa6c635b7119249ce394a527be2fe /doc
parent5b28d185a494e9967bfe2db9ade040a06a078c2a (diff)
parent246c06d2475718ec36ba193494444464e497c69a (diff)
downloadnumpy-7d188bf1c9ac5bf7ee41e0794d59771802b345bf.tar.gz
Merge pull request #3329 from JDWarner/faster_arraypad
ENH: improved, faster algorithm for array padding
Diffstat (limited to 'doc')
-rw-r--r--doc/release/1.8.0-notes.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/release/1.8.0-notes.rst b/doc/release/1.8.0-notes.rst
index bdf4f118a..76dcf50c2 100644
--- a/doc/release/1.8.0-notes.rst
+++ b/doc/release/1.8.0-notes.rst
@@ -133,6 +133,16 @@ A simple test runner script ``runtests.py`` was added. It also builds Numpy via
``setup.py build`` and can be used to run tests easily during development.
+Improvements
+============
+
+Performance improvements to `pad`
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+The `pad` function has a new implementation, greatly improving performance for
+all inputs except `mode=<function>` (retained for backwards compatibility).
+Scaling with dimensionality is dramatically improved for rank >= 4.
+
+
Changes
=======
@@ -157,6 +167,8 @@ Several changes to np.insert and np.delete:
`np.insert(arr, 3, [1,2,3])` to insert multiple items at a single position.
In Numpy 1.8. this is also possible for `np.insert(arr, [3], [1, 2, 3])`.
+Padded regions from np.pad are now correctly rounded, not truncated.
+
C-API
~~~~~