3 ms·
> FWIW, the laptop where I did my timings is 5 years old. The PC I tried this is on is about 10 year old, I bought this place in 2014 and the PC was not long a
by tialaramex 1y ago
> FWIW, the laptop where I did my timings is 5 years old.
The PC I tried this is on is about 10 year old, I bought this place in 2014 and the PC was not long after that.
- eesmith 1y agoMy desktop CPU came out in 2017, so 8 years old. sum() of a list with 100M floats took 0.65 seconds. The explicit loop took 1.5 seconds on CPython 3.13. But again, yes, Rust performance runs rings around CPython, but that's not enough to justify switching to an alternative numeric type given the many negatives, and Python's performance isn't as dire as you suggest.