← 피드로
Indexing strings by character (Unicode scalar) instead of UTF offsets can be more comfortable for parsers or short manipulations. The minimum cost for reading a >= U+FE character is: Lookup rope table by byte key (holding a high bit position), in goal of the scalar…
출처: www.reddit.com · https://www.reddit.com/r/programming/comments/1w45kwm/subsize_subscalar_encoding/