Author Claudiu.Popa
Recipients Arfrever, Claudiu.Popa, Jim.Jewett, ncoghlan, serhiy.storchaka
Date 2014-04-24.05:11:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1398316299.3.0.709140559581.issue19385@psf.upfronthosting.co.za>
In-reply-to
Content
On my machine I get the following results for the unclosed-database case.

With patch:

# ./python -S -m timeit -n 100000 -s "import dbm.dumb as dbm; d=dbm.open('x.dat', 'c');len(d)"
100000 loops, best of 3: 0.0638 usec per loop

Without patch:

# ./python -S -m timeit -n 100000 -s "import dbm.dumb as dbm; d=dbm.open('x.dat', 'c');len(d)"
100000 loops, best of 3: 0.0634 usec per loop
History
Date User Action Args
2014-04-24 05:11:39Claudiu.Popasetrecipients: + Claudiu.Popa, ncoghlan, Arfrever, Jim.Jewett, serhiy.storchaka
2014-04-24 05:11:39Claudiu.Popasetmessageid: <1398316299.3.0.709140559581.issue19385@psf.upfronthosting.co.za>
2014-04-24 05:11:39Claudiu.Popalinkissue19385 messages
2014-04-24 05:11:39Claudiu.Popacreate