3 ms·
Mostly the time constraint. Nah, it wasn't indexed, hence the necessity to build up such an index as the first step of the algorithm.
by jonmrodriguez 15y ago
Mostly the time constraint.
Nah, it wasn't indexed, hence the necessity to build up such an index as the first step of the algorithm.
- pestaa 15y agoYes I realized that, my question was more like, "couldn't you just put the data in a relational database or a full text search engine and avoid reinventing?". Depends on the scenario, of course, and judging by how you solved it, yours seems like an exception, and not rule.