blob: 54cb0fac97a74059c1f994862873a8d787bf3095 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
An extension class to allocate memory easily with cython.
This extension class started as part of the Sage software.
It provides a single extension class MemoryAllocator with cdef methods.
Memory is freed when the instance of MemoryAllocator is deallocated. On failure
to allocate the memory, a proper error is raised.
See also: https://github.com/sagemath/memory_allocator
|