Useful Data Structures
In this chapter, we'll look at a series of useful data structures and techniques for manipulating Unicode text. Most operations on Unicode text boil down to one or more of the following:
Testing a character for membership in some collection of characters
Mapping from a single character to another single character, or to some other type of value
Mapping from a variable-length sequence of characters to a single character (or, more commonly, some other single value)
Mapping from a single character (or other type of value) to a variable-length sequence of characters (or other values)
Mapping from a variable-length sequence of characters or values to another variable-length sequence of characters or values
More simply put, you may ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access