IndexedDB Fuzzy Search

前端 未结 3 1073
离开以前
离开以前 2020-12-02 17:51

Ok, first of all, sorry for my English.

I\'m working in a web project that show suggests when I type something in the inputbox, but I want to use IndexedDB to improv

3条回答
  •  半阙折子戏
    2020-12-02 17:52

    I have been experimenting with IndexedDB and I have found it to be very slow, added to that the complexity of its api and I'm not sure its worth using at all.

    It really depends on how much data you have, but potentially it'd be worth doing the searching in memory, and then you can just marshall and un-marshall the data out of some kind of storage, either indexedDB or the simpler localStorage.

提交回复
热议问题