INADA Naoki <songofaca...@gmail.com> added the comment:

Quick microbench:

```
$ ./python -m perf timeit --compare-to=`pwd`/python.master -s 'd = 
dict.fromkeys(range(1000))' -- "for i in range(1000):
  del d[i]
  d[i]=i
"
python.master: ..................... 124 us +- 9 us
python: ..................... 116 us +- 0 us

Mean +- std dev: [python.master] 124 us +- 9 us -> [python] 116 us +- 0 us: 
1.06x faster (-6%)
```

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue31954>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to