Refactor some char, u8 ASCII functions to be branchless
#117260
Merged
char, u8 ASCII functions to be branchless
#117260