summaryrefslogtreecommitdiff
path: root/numpy/doc/indexing.py
diff options
context:
space:
mode:
authorJulian Taylor <jtaylor.debian@googlemail.com>2013-08-08 19:09:49 +0200
committerJulian Taylor <jtaylor.debian@googlemail.com>2013-08-16 10:19:38 +0200
commitd271d977bdfb977959db1ff26956666f3836b56b (patch)
tree04a6eadcfc2aaa21b62f66435d6e2108c0ff7634 /numpy/doc/indexing.py
parentafceb18ded0a263196919106ad6e0dba252b204f (diff)
downloadnumpy-d271d977bdfb977959db1ff26956666f3836b56b.tar.gz
ENH: use PyDataMem_NEW_ZEROED for PyArray_Zeros
PyDataMem_NEW_ZEROED uses calloc which will take advantage of the fact that most operating systems provide already zero initialized memory blocks on larger allocations. Additionally this memory can be sparse (= mapped to a single zero page) on some systems (e.g. linux) reducing memory usage of applications using sparse arrays.
Diffstat (limited to 'numpy/doc/indexing.py')
0 files changed, 0 insertions, 0 deletions