]> git.lizzy.rs Git - rust.git/commit
Update fannkuchredux benchmark
authorBrian Anderson <banderson@mozilla.com>
Fri, 5 Sep 2014 01:45:11 +0000 (18:45 -0700)
committerBrian Anderson <banderson@mozilla.com>
Fri, 5 Sep 2014 01:49:59 +0000 (18:49 -0700)
commitfc3b6383ba346dcf243d189fa2d87e2b5f2b9f61
tree0a4af21fad2a72c894cfee1d7579229000e5ec0a
parente024017f60c93b6ff4f37bd4bd580f30deafb107
Update fannkuchredux benchmark

From the discussion on reddit:
http://www.reddit.com/r/rust/comments/2fenlg/benchmark_improvement_fannkuchredux/

This adds two variants: the primary, that uses an unsafe block, and a secondary
that is completely safe.

The one with the unsafe block matches clang's performance and beats gcc's.
src/etc/licenseck.py
src/test/bench/shootout-fannkuch-redux-safe.rs [new file with mode: 0644]
src/test/bench/shootout-fannkuch-redux.rs