Use "for" instead of "while" which improves speed with 6%
Use "for" instead of "while" which improves speed with 6%

See: https://blog.famzah.net/2016/09/10/cpp-vs-python-vs-php-vs-java-vs-others-performance-benchmark-2016-q3/#comment-148564

famzah/langs-performance,famzah/langs-performance,famzah/langs-performance,famzah/langs-performance,famzah/langs-performance,famzah/langs-performance,famzah/langs-performance,famzah/langs-performance,famzah/langs-performance,famzah/langs-performance,famzah/langs-performance,famzah/langs-performance