Closed xivk closed 5 years ago
It could be a good idea to use a tree:
https://en.wikipedia.org/wiki/Radix_tree#PATRICIA
This way we store each word segment just once. This could reduce space required.
With text, do you mean e.g., the street names?
Yup, streetnames mostly.
It could be a good idea to use a tree:
https://en.wikipedia.org/wiki/Radix_tree#PATRICIA
This way we store each word segment just once. This could reduce space required.