Showing content from http://mail.python.org/pipermail/python-dev/attachments/20171106/715acc2a/attachment.html below:
<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 6 November 2017 at 06:09, Serhiy Storchaka <span dir="ltr"><<a href="mailto:storchaka@gmail.com" target="_blank">storchaka@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">05.11.17 20:39, Stefan Krah пиÑе:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
On Sun, Nov 05, 2017 at 01:14:54PM -0500, Paul G wrote:<br>
</span><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
2. Someone invents a new arbitrary-ordered container that would improve on the memory and/or CPU performance of the current dict implementation<br>
</blockquote>
<br>
I would think this is very unlikely, given that the previous dict implementation<br>
has always been very fast. The new one is very fast, too.<br>
</span></blockquote>
<br>
The modification of the current implementation that don't preserve the initial order after deletion would be more compact and faster.</blockquote><div><br></div><div>I would personally be happy with this as the guarantee (it covers dict literals and handles PEP 468), but it might be more confusing. "dicts are in arbitrary order" and "dicts maintain insertion order" are fairly simple to explain, "dicts maintain insertion order up to the point that a key is deleted" is less so.</div><div><br></div><div>Tim Delaney </div></div></div></div>
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