3 ms·
You'd basically be building an index into each node. There's some fast databases that store prefix trees, which might be suitable for such a task actually (som
by chii 2y ago
You'd basically be building an index into each node.
There's some fast databases that store prefix trees, which might be suitable for such a task actually (something like infinitydb). But building this database will basically take a while (it will require parsing the entire document). But i suppose if reading/querying is going to happen many times, its worth it?