[Python-Dev] More compact dictionaries with faster iteration

Brett Cannon 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
> platforms
> such as many current ARM applications (mostly likely 32bit for now).
>  Python's
> memory consumption is an overheard complaint for folks developing for those
> platforms.

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...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20121210/637a62d6/attachment.html>

More information about the Python-Dev mailing list