(original) (raw)


On 8/16/06, "Martin v. Löwis" <martin@v.loewis.de> wrote:

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 <thomas@python.org>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!