ffi_helper library
Classes
-
Arena<
T extends NativeType> - Instead of doing many little allocations, Arena allocates a large chunk of memory which can be sliced into multiple ArrayViews. This can significantly improve performance and it makes memory management simpler. [...]
-
Array<
T extends NativeType> - Represents a Pointer and its length.
-
ArrayRef<
T extends NativeType> - Reference to a SharedArray.
-
ArrayView<
T extends NativeType> - ArrayView is a non-owning view into allocated memory, meaning delete doesn't do anything.
- Instead of allocating many arrays, share one array which gets deleted when all references to it got deleted. This can lead to better performance and reduced memory usage. [...]