3 ms·
I tried counting a large amount of numbers based on a condition in a loop. 70 times difference between python3 and cargo run --release
by tcfhgj 4y ago
I tried counting a large amount of numbers based on a condition in a loop.
70 times difference between python3 and cargo run --release
- kaba0 4y agoThat’s a tiny as hell microbenchmark though, where rust likely was able to vectorize even. The difference won’t be as drastic for larger (more meaningful) applications.