Serhiy Storchaka added the comment:
Claudiu, your benchmark is broken, it measure a no-op.
Correct benchmark:
$ ./python -S -m timeit -n 100000 -s "import dbm.dumb as dbm;
d=dbm.open('x.dat', 'c')" "len(d)"
3.4: 100000 loops, best of 3: 2.56 usec per loop
3.5: 100000 loops, best of 3: 4.17 usec per loop
There is 60% regression.
----------
status: closed -> open
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue19385>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com