4 ms·
I mean, if you really want to get into it, it was a huge pain in the ass at a time when paying the cost of a call to islower_english was much more expensive tha
by msbarnett 10y ago
I mean, if you really want to get into it, it was a huge pain in the ass at a time when paying the cost of a call to islower_english was much more expensive than a hardware less-than instruction.
We've broadly moved beyond that, but there's still value in grouping sets together in a way that makes certain kinds of frequent tests less computationally expensive than they would be if codepoints were randomly distributed.
- dalke 10y agoAgreed. Though to point out, I believe xyproto's comment refers to the present. EDIT: Plus, if it were that important, IBM could implement the function in hardware. (Perhaps they did.)