[Python-Dev] cpython: Issue #3329: Add new APIs to customize memory allocators (original) (raw)
Victor Stinner victor.stinner at gmail.com
Sun Jun 16 02:51:29 CEST 2013
- Previous message: [Python-Dev] cpython: Issue #3329: Add new APIs to customize memory allocators
- Next message: [Python-Dev] cpython: Issue #3329: Add new APIs to customize memory allocators
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2013/6/15 Antoine Pitrou <solipsis at pitrou.net>:
Moreover, I think you are conflating two issues: the ability to add memory allocation hooks (for tracing/debugging purposes), and the adaptation to "non-traditional" memory models (whatever that means). Those concerns don't necessarily come together.
In my implementation, both uses case use the same API: PyMem_SetAllocators(), except that hooks need also PyMem_GetAllocators().
Victor
- Previous message: [Python-Dev] cpython: Issue #3329: Add new APIs to customize memory allocators
- Next message: [Python-Dev] cpython: Issue #3329: Add new APIs to customize memory allocators
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]