danmar/cppcheck — pull request #353 by Dmitry-Me (2014-07-01 13:18:00+00:00)
Title: Break the loop once the result can no longer change.

This reduces bitwise ops abuse and makes the loop a bit faster.