Refactor numbers to avoid for loop
Merge pull request #7 from orendon/save-cpu-cycles-on-numbers

Refactor numbers to avoid for loop