4 ms·
Have you considered building the search piece in wasm for performance? A few years back I was looking for a library like this and couldn’t find one that seemed
by trescenzi 3y ago
Have you considered building the search piece in wasm for performance? A few years back I was looking for a library like this and couldn’t find one that seemed fast enough for what I wanted. I ended up building one in rust and it’s easily 2x as fast as the js code I started with.
It’s not nearly as good a fuzzy search as this is as I just kinda tinkered with it till it felt ok for the purpose but it could be way better.
Source: https://github.com/trescenzi/brainstorm https://github.com/trescenzi/brainstorm
Site: https://brainstorm.tcrez.xyz/ https://brainstorm.tcrez.xyz/
- kmschaal 3y agoHi, thanks for sharing! No, I haven't taken wasm into consideration. It would be interesting to see the performance gain, in particular for indexing.