pub fn register_canonical(str: &str) -> u32
register a canonical string returns the range of the string in the canonical text, packed: start << 8 | length
start << 8 | length