Slightly confused as to the expense of a character at a time check given the for loop in the code below at line 46 which is already doing a character at a time check. Or are you suggesting that the function call itself is expensive?