heapwolf / ldb

A C++ REPL / CLI for LevelDB
MIT License
201 stars 23 forks source link

sublevels #34

Closed heapwolf closed 6 years ago

heapwolf commented 10 years ago

The node module level-sublevel gives you a way to fake tables in leveldb, which is nice. It lets you pick a separator or defaults to \xff, then only iterates keys according to the currently selected prefix. It might be nice to make a c++ version of sublevel... Thoughts?

jwerle commented 10 years ago

I can see some cool stuff coming out of this project. Do you think its possible to have an interface for a "leveldown" => "levelup" compatibility in c/c++ ?

On Sat, May 24, 2014 at 9:15 AM, Paolo Fragomeni notifications@github.comwrote:

The node module level-sublevel gives you a way to fake tables in leveldb, which is nice. It lets you pick a separator or defaults to \xff, then only iterates keys according to the currently selected prefix. It might be nice to make a c++ version of sublevel... Thoughts?

— Reply to this email directly or view it on GitHubhttps://github.com/hij1nx/ldb/issues/34 .

heapwolf commented 10 years ago

Ah! Can you elaborate on this idea some more?

jwerle commented 10 years ago

Yes! Give me a few (coffee and wakeup time) and I'll put together something (mostly hax) :]

I can see some cool stuff coming out of this like the things happening here

I think might know a little bit about it ;)

heapwolf commented 10 years ago

hah! super awesome! :D

heapwolf commented 10 years ago

bump