[Python-Dev] More compact dictionaries with faster iteration
brett at python.org
Mon Dec 10 17:27:45 CET 2012
On Mon, Dec 10, 2012 at 10:28 AM, Barry Warsaw <barry at python.org> wrote:
> On Dec 10, 2012, at 08:48 AM, Christian Heimes wrote:
> >It's hard to predict how the extra CPU instructions are going to affect
> >the performance on different CPUs and scenarios. My guts tell me that
> >your proposal is going to perform better on modern CPUs with lots of L1
> >and L2 cache and in an average case scenario. A worst case scenario with
> >lots of collisions might be measurable slower for large dicts and small
> >CPU cache.
> I'd be interested to see what effect this has on memory constrained
> such as many current ARM applications (mostly likely 32bit for now).
> memory consumption is an overheard complaint for folks developing for those
Maybe Kristjan can shed some light on how this would have helped him on the
ps3 work he has been doing for Dust 514 as he has had memory issues there.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-Dev