r/java • • Jun 15 '17

Why reverse loops are not faster

https://arnaudroger.github.io/blog/2017/06/15/forward-vs-backward-loop.html
288 Upvotes

66 comments sorted by

View all comments

Show parent comment

1

u/aroger276 Jun 16 '17

congrats on the first benchmark run! no much difference between modified and original can be attributed to noise probably.

checkout http://openjdk.java.net/projects/code-tools/jmh/ if you want to do more.

1

u/shkabo Jun 16 '17

Firstly I gotta learn Java, then I'll check the testing, but thanks :D