FlashDB
FlashDB copied to clipboard
Add hash index to speed up searching
- This patch allows you to boost searching from O(n) to O(1)
- Because the implementation is based on the hash, it has to take more memory to store the index data.
- And each key-value entry takes 4 bytes.
- More details please reference the "Demos/Linux"
各位大佬们,出来围观吊打我吧
感谢你的 PR,这两天有些忙,我要晚点看下哈
准备投入实际使用了
👍, 我 十一 的时候再把整体框架梳理一下,后续 索引算法 应该会独立文件出来