459
Infallible Code
(lemmy.ml)
Post funny things about programming here! (Or just rant about your favourite programming language.)
This code would run a lot faster as a hash table look up.
I agree. Just need a table of even numbers. Oh and a table of odd numbers, of course, else you cant return the false.. duh.
In a Juliana tree, or a dictionary tree if you want. For speed.