Le-o-n / cython-virtual-memory-toolkit

The Cython Virtual Memory Toolkit is designed to provide Cython header files (*.pxd) for various functionalities, enabling Cython to interact with the virtual memory of a target process. This toolkit includes features for reading, writing, allocating, and freeing virtual memory.
MIT License
2 stars 0 forks source link

Reduce the number of heap allocations #32

Open Le-o-n opened 1 month ago

Le-o-n commented 1 month ago

Most of the structs are being heap allocated but are static in size, this is slow and using stack allocation is much faster.

Convert from heap to stack allocations where possible