[Python-Dev] Benchmarking the int allocator (Was: Type of range object members) (original) (raw)
Thomas Wouters thomas at python.org
Thu Aug 17 13:22:53 CEST 2006
- Previous message: [Python-Dev] Benchmarking the int allocator (Was: Type of range object members)
- Next message: [Python-Dev] Type of range object members
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 8/16/06, "Martin v. Löwis" <martin at 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 at python.org>
Hi! I'm a .signature virus! copy me into your .signature file to help me spread! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/python-dev/attachments/20060817/ada243d2/attachment.htm
- Previous message: [Python-Dev] Benchmarking the int allocator (Was: Type of range object members)
- Next message: [Python-Dev] Type of range object members
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]