[Python-Dev] PyBench DictCreation (was Re: Performance compares) (original) (raw)
Thomas Wouters thomas@xs4all.net
Fri, 18 May 2001 17:36:42 +0200
- Previous message: [Python-Dev] PyBench DictCreation (was Re: Performance compares)
- Next message: [Python-Dev] PyBench DictCreation (was Re: Performance compares)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, May 18, 2001 at 11:27:39AM -0400, Guido van Rossum wrote:
> > (I guess he means the buffer is alloc'ed contiguously with the dict > > object head. That's often a nice strategy. Could do that for small > > lists too maybe, except those haven't gotten anybody's attention just > > yet.) > > Sounds to me like it would benifit tuples even more than lists or dicts. At > least in my code, I see more short tuples than short lists, and they are > usually not altered after creation ;-)
Which is why tuples already have this feature. Posted before your first cup of coffee? :-)
No, after my last meeting, before my first witbier of the friday-afternoon-office-beer-binge :) TGIF ;)
-- Thomas Wouters <thomas@xs4all.net>
Hi! I'm a .signature virus! copy me into your .signature file to help me spread!
- Previous message: [Python-Dev] PyBench DictCreation (was Re: Performance compares)
- Next message: [Python-Dev] PyBench DictCreation (was Re: Performance compares)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]