]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
SF patch #875689: >100k alloc wasted on startup
authorRaymond Hettinger <python@rcn.com>
Sun, 8 Feb 2004 18:56:07 +0000 (18:56 +0000)
committerRaymond Hettinger <python@rcn.com>
Sun, 8 Feb 2004 18:56:07 +0000 (18:56 +0000)
commitd6ea07f9ac034305149da3d987fa0b6be9a7c6f3
tree132f0c9ec23ec6c93ef20353624777e1ef9e22c3
parent5d2e8428bdedf4e226fe90371d4671cd410ea3dd
SF patch #875689: >100k alloc wasted on startup
(Contributed by Mike Pall.)

Make sure fill_free_list() is called only once rather than 106 times
when pre-allocating small ints.
Objects/intobject.c