sdb
sdb copied to clipboard
Simple and fast string based key-value database with support for arrays and json
The idea behind this is to optimize the load times when the program that uses sdb creates a LOT of keys in a short period of time, this results in...
There should be an independent ht implementation on sdb. Right now everything must be an string in order to work properly, but the idea would be to have an agnostic...
``` $ echo foo=bar | ./sdb foo.db - CALL -1 CALL 3 CALL 3 $ echo foo=bar | ./sdb foo.db - CALL 3 CALL 3 CALL 3 CALL 3 ```
this was a bug that it is fixed now in b71e11fcd773422ecb105935e5c826f97bc7364b.. but we have no tests for it, and we should do some more changes related to this that can...
It would be great if their is function to copy all records from `sdb *src` to `sdb *dst` (merge both of them) with out creating name spaces ( the same...
original code from https://github.com/facebookarchive/warp ``` static size_t getHash(const(uchar)[] name) { size_t hash = 0; while (name.length >= size_t.sizeof) { hash = hash * 37 + *cast(size_t*)name.ptr; name = name[size_t.sizeof .....
VPATH and so on.
``` foo=bar cow=123 low={"pop":123,"jiji":456} ``` will be dumped as: ``` {"foo":"bar","cow":123,"low":{"pop":123,"jiji",456}} ``` The nested Sdbs thing should be discussed
in the Makefile