Author brandtbucher
Recipients brandtbucher, mark.dickinson, rhettinger
Date 2022-01-13.19:52:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1642103536.25.0.323989636564.issue46361@roundup.psfhosted.org>
In-reply-to
Content
The attached PR doesn't seem to have any impact on Decimal performance (non-optimized, non-debug build on a fairly quiet laptop):

main:

Convert 262,000 Decimals to "small" ints: 31.7 ms +- 5.3 ms
Convert 256,000 Decimals to 1-digit ints: 29.9 ms +- 3.1 ms
Convert 256,000 Decimals to 2-digit ints: 30.4 ms +- 2.8 ms
Convert 256,000 Decimals to 3-digit ints: 31.2 ms +- 3.1 ms

patched:

Convert 262,000 Decimals to "small" ints: 30.9 ms +- 4.0 ms
Convert 256,000 Decimals to 1-digit ints: 29.5 ms +- 3.0 ms
Convert 256,000 Decimals to 1-digit ints: 30.5 ms +- 2.5 ms
Convert 256,000 Decimals to 1-digit ints: 31.0 ms +- 2.3 ms
History
Date User Action Args
2022-01-13 19:52:16brandtbuchersetrecipients: + brandtbucher, rhettinger, mark.dickinson
2022-01-13 19:52:16brandtbuchersetmessageid: <1642103536.25.0.323989636564.issue46361@roundup.psfhosted.org>
2022-01-13 19:52:16brandtbucherlinkissue46361 messages
2022-01-13 19:52:16brandtbuchercreate