2 ms·
And most of that is constant time overhead of linking and trans, rather than linearly scaling overhead. :P
by kibwen 11y ago
And most of that is constant time overhead of linking and trans, rather than linearly scaling overhead. :P
- igouy 11y agofwiw thread-ring Rust, 38 lines of code $ time /usr/local/src/rust-1.3.0-x86_64-unknown-linux-gnu/rustc/bin/rustc threadring.rs -o threadring.rust_run real 0m1.466s user 0m1.340s sys 0m0.112s