Open cyyuen opened 10 years ago
Do you have to put all the bookmarks in an array though? That seems inefficient.
Please optimize for performance only if you have performance issues. Meanwhile, fuzzy search has been sorely missing for years now.
However, it is not clear to me how this works. Basically personally I would like see a search similar to how Jetbrains' IDE's work (like IntelliJ), basically doing a regex match where every whitespace and boundary character typed is replaced with ".*?"
adopt a full Bitap (fuzzy search) algorithm algorithm, fuse.js (http://kiro.me/projects/fuse.html)