[Python-ideas] Ordered storage of keyword arguments
Antoine Pitrou
solipsis at pitrou.net
Thu Oct 28 14:10:07 CEST 2010
More information about the Python-ideas mailing list
Thu Oct 28 14:10:07 CEST 2010
- Previous message: [Python-ideas] Ordered storage of keyword arguments
- Next message: [Python-ideas] Ordered storage of keyword arguments
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> > Performance would probably not suffer on micro-benchmarks (with > > everything fitting in the CPU's L1 cache), but making dicts bigger > > (by 66%: 5 pointer-sized fields per hash entry instead of 3) could > > be detrimental in real life workloads. > > For function calls, yes. For class creation, I doubt that a few > extra bytes would make much difference in real life - classes typically > don't have thousands of methods or attributes :-) Right. I was talking about the prospect of making dicts ordered by default. Regards Antoine.
- Previous message: [Python-ideas] Ordered storage of keyword arguments
- Next message: [Python-ideas] Ordered storage of keyword arguments
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-ideas mailing list