Hello.
I have done the thing you are requesting. You can easily create your
own memory pool and have Python to use it.

I added some rows to Pyconfig.h:

#ifdef malloc
#undef malloc
#endif /*malloc*/
#define malloc  Python_malloc

Then I have some overhead in my own Python_malloc(size_t nBytes)

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to