krisk / Fuse

Lightweight fuzzy-search, in JavaScript
https://fusejs.io/
Apache License 2.0
17.79k stars 756 forks source link

Nonblocking search using async #560

Closed Benjamin-Lee closed 2 years ago

Benjamin-Lee commented 3 years ago

Description

Right now, it appears that adding search functionality blocks the UI thread while it runs. While I can move it to a webworker, it would be ideal to just await the results.

Describe the solution you'd like

Use async js when searching a large (10k element) JSON array.

Describe alternatives you've considered

Webworkers?

cschweda commented 3 years ago

+1

Just noticing this now. UI freezes as search is generating.

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

cschweda commented 2 years ago

+1 -- any ideas on this?

itsadamlove commented 2 years ago

+1 also having issues with this