3 ms·
Out of curiosity, how does this compare with fuse.js?
by jaitaiwan 4y ago
Out of curiosity, how does this compare with fuse.js?
- leeoniya 4y agoquality: https://leeoniya.github.io/uFuzzy/demos/compare.html?libs=uFuzzy,Fuse&search=super%20ma https://leeoniya.github.io/uFuzzy/demos/compare.html?libs=uF... perf: https://github.com/leeoniya/uFuzzy#benchmark https://github.com/leeoniya/uFuzzy#benchmark
- 91edec 4y agoChrist that demo is laggy. Can you move the search to a web worker so the UI doesn't lag whilst typing?
- leeoniya 4y agosorry that Fuse is slow, but that's the point of the demo, isn't it?
- phist_mcgee 4y agoIf it's render blocking, that's the whole point right? A lot of people won't use these libraries on a separate thread.
- modzu 4y agoits hard to compare directly because by default they return different results; so any comparison should control for that. that said the initial numbers for ufuzzy are tiny, so im quite curious
- leeoniya 4y agoit's very hard to compare. definitely eval each lib's results before accepting any bench numbers as valid! and also please submit any improvements to the codebase to get the results better/closer. i'm only an expert in one lib (mine).