Interesting. They basically separated things into the bottom 8K code points and the rest, so as Stephen suggested, one comparison and one table lookup for the `common' case.