handy.h: Reorder tests for speed
authorKarl Williamson <public@khwilliamson.com>
Sat, 1 Oct 2011 19:02:41 +0000 (13:02 -0600)
committerKarl Williamson <public@khwilliamson.com>
Sat, 1 Oct 2011 19:18:52 +0000 (13:18 -0600)
commit2181da29512f5514f1bdd03c86fdde39bd30660a
tree5e7cc95cd6fe4486e832069bb3293b5970c59dd3
parent98d360d4083d50ba9f03ae8888881c7c6c553089
handy.h: Reorder tests for speed

It's much more likely that a random character will have its ordinal be
above the ordinal for '7' than below.  In the test for if a character is
octal then, testing first if it is <= '7' will exclude many more
possibilities than if the first test is if it is >= '0'.

I left the ones for lowercase letters in the same order, because, in
ASCII, anyway, there are more characters below 'a' than above it.
handy.h