4 ms·
It's worth observing that signed integer overflow is undefined in C but defined in Rust, which can impose an additional cost. C: https://godbolt.org/z/CDha8- h
by ridiculous_fish 7y ago
It's worth observing that signed integer overflow is undefined in C but defined in Rust, which can impose an additional cost.
C: https://godbolt.org/z/CDha8- https://godbolt.org/z/CDha8-
Rust: https://godbolt.org/z/DlN3uf https://godbolt.org/z/DlN3uf