Message410514
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 |
|
Date |
User |
Action |
Args |
2022-01-13 19:52:16 | brandtbucher | set | recipients:
+ brandtbucher, rhettinger, mark.dickinson |
2022-01-13 19:52:16 | brandtbucher | set | messageid: <1642103536.25.0.323989636564.issue46361@roundup.psfhosted.org> |
2022-01-13 19:52:16 | brandtbucher | link | issue46361 messages |
2022-01-13 19:52:16 | brandtbucher | create | |
|