processing the whole number is absurd
You know, to save the performance cost of processing the input as a string, and chomping off all but the last character.
reply
All you need is the final binary digit, which incidentally is the most optimal codegen, `v & 1`.
processing the whole number is absurd