diff options
author | Jonathan L Long <jonlong@cs.berkeley.edu> | 2013-12-17 16:24:07 -0800 |
---|---|---|
committer | Jonathan L Long <jonlong@cs.berkeley.edu> | 2013-12-17 16:33:31 -0800 |
commit | cf22b319191c47b66d6a690888cb16ba0e08c122 (patch) | |
tree | 807ca7435ea1de4210897888ee05badb8edca96b /numpy/f2py/docs/pytest.py | |
parent | ff325bb2a3e06355051bb044b6047907027105d5 (diff) | |
download | numpy-cf22b319191c47b66d6a690888cb16ba0e08c122.tar.gz |
Avoid overallocating memory in arraypad with user supplied function
Previously, arraypad used zeros(shape).astype(dtype) instead of
zeros(shape, dtype), which could allocate up to eight times more memory
than necessary.
Diffstat (limited to 'numpy/f2py/docs/pytest.py')
0 files changed, 0 insertions, 0 deletions