tinyarray
Arrays of numbers for Python, optimized for small sizes
Arrays of numbers for Python, optimized for small sizes
To install this package, run one of the following:
Tinyarrays are similar to NumPy arrays, but optimized for small sizes. Common operations on very small arrays are to 3-7 times faster than with NumPy (with NumPy 1.6 it used to be up to 35 times), and 3 times less memory is used to store them. Tinyarrays are useful if you need many small arrays of numbers, and cannot combine them into a few large ones.
Summary
Arrays of numbers for Python, optimized for small sizes
Last Updated
Jul 28, 2025 at 07:47
License
BSD-2-Clause
Total Downloads
411.7K
Supported Platforms
Unsupported Platforms
Documentation
https://gitlab.kwant-project.org/kwant/tinyarray