summaryrefslogtreecommitdiff
path: root/numpy/polynomial/polyutils.py
diff options
context:
space:
mode:
authorJulian Taylor <jtaylor.debian@googlemail.com>2014-01-08 18:31:53 +0100
committerJulian Taylor <jtaylor.debian@googlemail.com>2014-01-08 19:44:56 +0100
commit6834b3a2da002eccc279a9e9a594713a467cc483 (patch)
tree5111a061afa9edd501b16657f772e4d32d42c68a /numpy/polynomial/polyutils.py
parente770f92087ec0ae38c86b6960a7f1d29335b9378 (diff)
downloadnumpy-6834b3a2da002eccc279a9e9a594713a467cc483.tar.gz
ENH: replace a few small allocations with PyObject_Malloc
It uses a faster small object allocator for sizes smaller than 512 bytes (256 in python2). This improves nditer construction and scalar operations by about 10%. For now only replace high profile encapsulated nditer allocation and python object (PyArray and gentype) allocations that go over tp_free to ensure no non-buggy third party application is broken.
Diffstat (limited to 'numpy/polynomial/polyutils.py')
0 files changed, 0 insertions, 0 deletions