krisk / fuse-swift

A lightweight fuzzy-search library, with zero dependencies
MIT License
934 stars 112 forks source link

Make the async APIs thread-safe and fix the indexes they report #41

Closed wearhere closed 4 years ago

wearhere commented 4 years ago

I put the fixes in the same PR because they target the same region of code, but let me know if you'd like to review them separately.

wearhere commented 4 years ago

Thanks for the quick review @krisk! I optimized this a little further in https://github.com/krisk/fuse-swift/pull/43 if you like.