blob: aa731f28dfb83ec5847fc538e77eb03ff1ee6358 (
plain)
1
2
3
4
5
6
7
8
9
|
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. (The resulting code is still
much slower than C, but it may now be fast enough.)
WWW: https://gitlab.kwant-project.org/kwant/tinyarray
|