No project description provided
Project description
cyarray
An exercise in templating fast, resizable arrays for Cython that incur less Python overhead than the array module and expose a pure C representation which does not require any Python interaction.
Why not just use C++'s std::vector
?
The templated std::vector
type in C++ is superior to these types in all ways but one, these
typed arrays support Python's buffer protocol.
This means that you can accumulate values in a nogil
C context and then immediately pass
them along to NumPy without copying.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mkcyarray-1.0.0.tar.gz
(167.6 kB
view hashes)
Built Distribution
Close
Hashes for mkcyarray-1.0.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 411381630b19f597af25a6df943c34842255f9f86d05f14677786ebd4479283b |
|
MD5 | 8529436a2808424be125f50f0521421f |
|
BLAKE2b-256 | 00105af77acd1d6b5e421ea7d4f7ff4a5ba0059e14f94af20e7f90e5f907836e |