]> git.lizzy.rs Git - rust.git/commit
Fixed algorithm to match shootout requirements
authorllogiq <bogusandre@gmail.com>
Mon, 10 Aug 2015 13:41:19 +0000 (15:41 +0200)
committerllogiq <bogusandre@gmail.com>
Mon, 10 Aug 2015 13:41:19 +0000 (15:41 +0200)
commit86191e2014225d62cc5c3b48e990529ea354f61b
tree48217106f8cd6560130877aa26eac2b42389273c
parentfebdc3b201bcce1546c88e3be1b956d3f90d3059
Fixed algorithm to match shootout requirements

See line 181: The lookup should start with the random index and iterate from there.

Also locked stdout (which makes it a bit faster on my machine).

Perhaps the multi-thread output from the fasta benchmark could be used to speed it up even more.
src/test/bench/shootout-fasta-redux.rs