Low-level memory allocation functions¶
AUTHORS:
- Jeroen Demeyer (2011-01-13): initial version (trac ticket #10258)
- Jeroen Demeyer (2014-12-14): add more functions (trac ticket #10257)
- Jeroen Demeyer (2015-03-02): move from
c_lib
to Cython (trac ticket #17881)
-
sage.ext.memory.
init_memory_functions
()¶ Set the MPIR/GMP memory functions to the above functions.
EXAMPLES:
sage: from sage.ext.memory import init_memory_functions sage: init_memory_functions()