3 ms·
Those are tools For instance, sometimes I work with IP addresses, like "I have to grab the entry that matches this IP the most" When you know the existence of
by JackSlateur 3y ago
Those are tools
For instance, sometimes I work with IP addresses, like "I have to grab the entry that matches this IP the most"
When you know the existence of radix trees, the problem is easy to solve : use a lib, create a tree, populate it, and then do some lookups
When you don't, you write an aweful foreach and crazy algorithm to compare entries