@Vitaliy-Dovgan good point. But that as i see it would only make the jump table more inefficient. A full comparison i taking place on every potential match
Also when you look at the charat() both in my link and on the Document class it is delegating to it seems to be operating on char.