3 ms·
Mmm, the only use case I can see is equivalent to an in-memory database, which would be faster than embedding sqlite.
by Cthulhu_ 6y ago
Mmm, the only use case I can see is equivalent to an in-memory database, which would be faster than embedding sqlite.
- tmikaeld 6y agoI've also tried full-text-search in worker by pre-indexing the content, works very fast even with a JS engine - less than 5ms to make a search in 5MB of text. It runs out of CPU-time at 6MB of index though. There's someone that made a WASM for full-text search too, it's definitely faster and can handle quite a lot more text. https://github.com/wilsonzlin/edgesearch https://github.com/wilsonzlin/edgesearch