diff options
author | Mark Harfouche <mark.harfouche@gmail.com> | 2023-01-27 09:51:39 -0500 |
---|---|---|
committer | Mark Harfouche <mark.harfouche@gmail.com> | 2023-01-27 09:51:39 -0500 |
commit | 35c41afd61540c27af5004d480618b59355d02f8 (patch) | |
tree | 41728c1afcd0bda93a3d913c3f4a01b6dd0a4123 /numpy/array_api/_array_object.py | |
parent | 3c3a6b5157d4d36172f59cda2fc9e2badf5dfbe5 (diff) | |
download | numpy-35c41afd61540c27af5004d480618b59355d02f8.tar.gz |
ENH: Add slots to NDArrayOperatorsMixin to make subclsasing smoother
I use the mixings in a few different file backed arrays.
However, the lack of slots make it difficult for me to use slots.
I mostly use slots to ensure that performance optimized code doesn't
create unecessary references to large chunks of memory.
If all parent classes do not have `__slots__` defined, I think that Python
(3.9) just ignores `__slots__` alltogether.
Thank you for considering.
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions