diff options
author | Simon Conseil <contact@saimon.org> | 2015-11-26 15:04:37 +0100 |
---|---|---|
committer | Simon Conseil <contact@saimon.org> | 2015-11-26 15:04:37 +0100 |
commit | 531f2ad34d006585281b9416fa30992dd37cf2af (patch) | |
tree | 25a00196d33d06455ae4ff99166ca579aaf76ae5 /numpy/lib/tests/test_packbits.py | |
parent | 53e658f80da6a50d371c74f49d3bb81fabf20d1b (diff) | |
download | numpy-531f2ad34d006585281b9416fa30992dd37cf2af.tar.gz |
ENH: Avoid memory peak when creating a MaskedArray with mask=True/False (#6732).
When the `mask` parameter is set to True or False, create directly a `ndarray` of
boolean instead of going inside `np.resize` which was causing of memory peak of
~15 times the size of the mask.
Diffstat (limited to 'numpy/lib/tests/test_packbits.py')
0 files changed, 0 insertions, 0 deletions