Performance comparison

Are you compiling both pieces of code with optimizations enabled? (E.g. -O2 -flto for C++ and cargo build --release for Rust.)

1 Like