[Python-ideas] Keep free list of popular iterator objects
Antoine Pitrou
solipsis at pitrou.net
Mon Sep 16 10:17:31 CEST 2013
Hi,
Le Sun, 15 Sep 2013 17:50:53 -0600,
Kyle Fisher <anthonyfk at gmail.com> a
écrit :
> Hi Antoine,
>
> Thanks for taking the time to respond. Sorry I didn't see your
> comments earlier, I have my mailing list settings to digest and for
> some reason they weren't showing up in my inbox. Anyway, I agree
> that a real-world test case would be best. Marc-Andre tossed out
> "100 objects" for the free list size, but I'd like to point out that
> it probably doesn't need to be anywhere near that large.
I agree. There can't be that many dict iterators in flight at a given
time :-)
> Perhaps it's best for me at this point to try out the patch in our
> application and see what some real world results would be. It'd also
> be nice if there was some other macro-benchmark that I could run this
> against to verify that it doesn't make things worse, which seems to
> be Raymond's biggest concern. Is there something like this
> available? Maybe even just the unit test suite?
We have a benchmark suite here:
http://hg.python.org/benchmarks/
It spans the range between micro and macro, but not to the point of
running wholesale applications.
Regards
Antoine.
More information about the Python-ideas
mailing list