[NFC] SuffixTree: Move EmptyIdx into SuffixTreeNode and add a root allocator
This makes it clearer that EmptyIdx is related to the node. Also add an allocator for the root so that in the main SuffixTree code we don't see gross stuff like a nullptr parent etc.
Loading
Please sign in to comment