4 ms·
Yet another attempt at a comparison scuttled by using randomness. Different things use different types of randomness. Some are fast. Some are slow. If your com
by chrismorgan 13y ago
Yet another attempt at a comparison scuttled by using randomness.
Different things use different types of randomness. Some are fast. Some are slow. If your comparison is not using the same type of randomness, that comparison is comparatively useless.
- dbaupp 13y agoIt's not being scuttled by randomness, since the times are so wildly different; my measurements of my Rust code indicate "only" 20% of the time is being spend in the RNG ranging up to 35% if I use StdRng rather than XorShiftRng, this difference is peanuts compared to the 750× (not percent) speed-ups the Fortran/Rust/C/C++ sees over the original Python (and even compared to the 30× speed-up seen over the optimised Python).
- chrismorgan 13y agoOK, I retract the word "scuttled". But the comparison is still meaningfully damaged by it once you get to closer comparisons, say between two of the top performers.