Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
You're right !
It goes from 0.050ms to 0.045ms so not that much, but it's a great idea.
From my point of view this isnt best practice, because you unneccessarily check all the even numbers within the for loop. In the task it was stated "Looping all the way up to n, or n/2, will be too slow"
because the checks did not contain any punctution, even though the programm was asked to be sensitive to that.