mirror of
https://git.freebsd.org/ports.git
synced 2025-06-28 08:00:31 -04:00
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
9 lines
491 B
Text
9 lines
491 B
Text
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
|