This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author zach.ware
Recipients eamartin, rhettinger, zach.ware
Date 2021-02-11.00:31:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1613003509.73.0.456648849683.issue43198@roundup.psfhosted.org>
In-reply-to
Content
Can reproduce on Linux:

$ for python in /usr/bin/python3.? /usr/local/bin/python3.?
do 
    $python -VV
    $python -m timeit -r 10 -n 100_000 -u usec -s 'S = set(range(10_000))' 'S.remove(5000);S.add(5000)'
done
Python 3.8.5 (default, Jul 28 2020, 12:59:40) 
[GCC 9.3.0]
100000 loops, best of 10: 0.0831 usec per loop
Python 3.6.11 (tags/v3.6.11:d56cd4006a, Jul  1 2020, 10:47:06) 
[GCC 9.3.0]
100000 loops, best of 10: 0.0968 usec per loop
Python 3.7.9 (tags/v3.7.9:13c94747c7, Oct 19 2020, 23:50:03) 
[GCC 9.3.0]
100000 loops, best of 10: 0.0935 usec per loop
Python 3.9.0 (tags/v3.9.0:9cf6752276, Nov 14 2020, 15:41:20) 
[GCC 9.3.0]
100000 loops, best of 10: 50.2 usec per loop
History
Date User Action Args
2021-02-11 00:31:49zach.waresetrecipients: + zach.ware, rhettinger, eamartin
2021-02-11 00:31:49zach.waresetmessageid: <1613003509.73.0.456648849683.issue43198@roundup.psfhosted.org>
2021-02-11 00:31:49zach.warelinkissue43198 messages
2021-02-11 00:31:49zach.warecreate