[Python-Dev] cpython: Issue #3329: Add new APIs to customize memory allocators (original) (raw)
Nick Coghlan ncoghlan at gmail.com
Sun Jun 16 04:23:47 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 ]
On 16 Jun 2013 10:54, "Victor Stinner" <victor.stinner at gmail.com> wrote:
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: PyMemSetAllocators(), except that hooks need also PyMemGetAllocators().
Right - they're different use cases that share a technical solution, so it makes sense to consider them together.
Cheers, Nick.
Victor
Python-Dev mailing list Python-Dev at python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/ncoghlan%40gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20130616/5054a3cd/attachment.html>
- 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 ]