4 ms·
Here are a bunch of them: https://github.com/TeXitoi/benchmarksgame-rs/tree/master/src https://github.com/TeXitoi/benchmarksgame-rs/tree/master/src Here's a gr
by pcwalton 11y ago
Here are a bunch of them: https://github.com/TeXitoi/benchmarksgame-rs/tree/master/src https://github.com/TeXitoi/benchmarksgame-rs/tree/master/src
Here's a grep for unsafe: https://github.com/TeXitoi/benchmarksgame-rs/search?utf8=%E2%9C%93&q=unsafe https://github.com/TeXitoi/benchmarksgame-rs/search?utf8=%E2...
3/14 benchmarks use unsafe. pidigits just uses unsafe to bind to GMP. reverse-complement is weird and I'm not sure what's going on there at first glance. spectralnorm looks like it's just using it to divide up an array in parallel; in the past couple of months there have a been several Rust libraries to enable this from safe code, so that may be able to be removed now.