[issue2039] Pymalloc patch for int and float objects

2012-11-26 Thread Christian Heimes
Christian Heimes added the comment: The patch is no longer required. floatobject.c no longer uses the old block allocation way and uses Python's internal memory manager. -- resolution: -> out of date stage: -> committed/rejected status: open -> closed

[issue2039] Pymalloc patch for int and float objects

2010-09-20 Thread Mark Lawrence
Mark Lawrence added the comment: If my reading of this is correct there is little or nothing to be gained by applying any patch, hence can this be closed? -- nosy: +BreamoreBoy ___ Python tracker _

[issue2039] Pymalloc patch for int and float objects

2008-02-20 Thread Andrew I MacIntyre
Andrew I MacIntyre added the comment: I've realised I could have included tests for a build with the int freelist but without the float freelist, to justify my conclusions. The short version: the script tests are almost identical to the baseline result & most of the other results are between the

[issue2039] Pymalloc patch for int and float objects

2008-02-20 Thread Andrew I MacIntyre
Andrew I MacIntyre added the comment: My conclusions from the testing I've just reported: - there are some contradictory results which make little (obvious) sense, but the testing has been repeated a number of times and nearly all tests repeat to with 1%; - leave the int freelist as is, but move

[issue2039] Pymalloc patch for int and float objects

2008-02-20 Thread Andrew I MacIntyre
Andrew I MacIntyre added the comment: As noted in a posting to python-dev, I've re-evaluated my test methodology. The results are as follows, with details of the PyBench runs in the pybench_summary.txt attachment: -- test

[issue2039] Pymalloc patch for int and float objects

2008-02-10 Thread Christian Heimes
Christian Heimes added the comment: The new patch adds a small free list with 80 elements each using a LIFO implemented as an array of fixed size. Added file: http://bugs.python.org/file9405/freelist2.patch __ Tracker <[EMAIL PROTECTED]>

[issue2039] Pymalloc patch for int and float objects

2008-02-08 Thread Andrew I MacIntyre
Andrew I MacIntyre added the comment: As indicated in a python-dev posting, I'm adding my experimental grade patches removing the freelists from ints and floats. Subject to testing on other platforms (I've only tested on FreeBSD 6.1 and OS/2), I suggest that the float case should be seriously co

[issue2039] Pymalloc patch for int and float objects

2008-02-07 Thread Christian Heimes
New submission from Christian Heimes: The patch removes the special allocation schema for ints and floats and replaces it but a standard PyObject_MALLOC schema with a limited free_list. -- components: Interpreter Core files: trunk_intfloat_freelist.patch keywords: patch messages: 62158 n