Closed seanyoung closed 1 year ago
Right now when we have search table we use binary search. We could use perfect hashing for this and improve performance, at the cost compilation time.
Actually we are searching character ranges so perfect hashing doesn't help here. We could flatten the ranges into a list but this would use far too much memory.
Right now when we have search table we use binary search. We could use perfect hashing for this and improve performance, at the cost compilation time.