Closed hycakir closed 5 years ago
gives slightly slower performance than the Java implementation.
I think we can add quite a few inbounds to spice things up ;)
Can we call this file fannkuchredux-fast.jl
. I'd like us to keep the existing benchmarks for a while to have a baseline.
Pushed it to master (and added @inbounds
)
────────────────────────────────────────────────
Section ncalls time %tot
────────────────────────────────────────────────
fannkuchredux 1 36.6s 100%
fannkuchredux.jl 1 30.0s 82.0%
fannkuchredux-fast.jl 1 6.48s 17.7%
────────────────────────────────────────────────%
Transliterated, gives slightly slower performance than the Java implementation.
https://github.com/KristofferC/BenchmarksGame.jl/issues/5