Author vstinner
Recipients brett.cannon, pitrou, r.david.murray, vstinner, yselivanov
Date 2016-04-19.10:47:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1461062861.14.0.853132768728.issue26058@psf.upfronthosting.co.za>
In-reply-to
Content
I ran again timeit microbenchmarks with CPU isolation on dict_version-8.patch, minimum of 10 runs.

-m timeit 'd={1: 0}; d[2]=0; d[3]=0; d[4]=0; del d[1]; del d[2]; d.clear()'

* Original: 287 ns
* Version: 289 ns (+2 ns, +0.7%)

-m timeit 'd={i:i for i in range(2**16)}' 'for i in range(2**16): d[i]=i-1' 'for i in range(2**16): d[i]=i+1' 'for i in range(2**15): del d[i]' 'd.clear()'

* Original: 21.2 msec
* Version: 21.4 msec (+0.2 ms, +0.9%)
History
Date User Action Args
2016-04-19 10:47:41vstinnersetrecipients: + vstinner, brett.cannon, pitrou, r.david.murray, yselivanov
2016-04-19 10:47:41vstinnersetmessageid: <1461062861.14.0.853132768728.issue26058@psf.upfronthosting.co.za>
2016-04-19 10:47:41vstinnerlinkissue26058 messages
2016-04-19 10:47:41vstinnercreate