On 8/16/06, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
Or you can expose Py_INCREF to Python code. I'm thinking about that for big-mem tests anyway ;-)
Guido van Rossum schrieb:
> I think the test isn't hardly focused enough on int allocation. I
> wonder if you could come up with a benchmark that repeatedly allocates
> 100s of 1000s of ints and then deletes them?
The question is: where to store them? In a pre-allocated list, or in a
growing list?
Or you can expose Py_INCREF to Python code. I'm thinking about that for big-mem tests anyway ;-)
--
Thomas Wouters <[EMAIL PROTECTED]>
Hi! I'm a .signature virus! copy me into your .signature file to help me spread!
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com