
31 Dec
2008
31 Dec
'08
10:38 p.m.
so why store the key?
eg
const char * keytable[] { "key1", // store keys at compile time in order "key2", ... }
I have no data in compile time. Data storage fill at runtime. Some keys could be inserted or deleted, *values* could be updated(increment/decrement/set), but there is no way one can any key could be changed, therefore key is immutable. Its very similar to memcached daemon.