A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-May/035741.html below:

[Python-Dev] Simple dicts

[Python-Dev] Simple dicts [Python-Dev] Simple dictsdamien morton dmorton@bitfurnace.com
Mon, 19 May 2003 07:29:56 -0400
Not so simple after all, or maybe too simple.

My 'simple' largedict test was simplistic and flawed, and a more
thorough test shows a slowdown on large dicts. I was inserting,
accessing, and deleting the keys without randomising the order, and once
randomised, cache effects kicked in. The slowdown isnt too huge though.

Further testing against small dicts shows a much larger slowdown.

The 5% improvement in pystone results still stands, but I think the main
reason for the improvement is that I had inlined some fail-fast tests
into ceval.c

Oh well, back to the drawing board.





RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4