recoilme / sniper

A simple and efficient thread-safe key/value store for Go
MIT License
75 stars 12 forks source link

Add Sequential Walk Function #7

Closed asyslinux closed 3 years ago

asyslinux commented 4 years ago

Add sequential walk through all key/values in sniper db with on the fly external function callback

recoilme commented 4 years ago

https://github.com/recoilme/sniper/issues/5#issuecomment-660612258

recoilme commented 4 years ago

I think many about this and this PR must close this problem: https://github.com/recoilme/sniper/pull/9 Added https://github.com/recoilme/sortedset as an in-memory index Bucket and Put command, for storing with index, and Keys(limit,offset) command for iterate over keys

recoilme commented 3 years ago

done with sortedset