Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Merge ¶
func Merge(ranges ...*unicode.RangeTable) *unicode.RangeTable
Merge returns a new RangeTable that is the union of the given tables. It can also be used to compact user-created RangeTables. The entries in R16 and R32 for any given RangeTable should be sorted and non-overlapping.
A lookup in the resulting table can be several times faster than using In directly on the ranges. Merge is an expensive operation, however, and only makes sense if one intends to use the result for more than a couple of hundred lookups.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.