X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/6b0253fabd960e633275a62b23ffda987e47172d..e24d93762f8945de0ee03f23b15d686cfa08bb58:/TODO diff --git a/TODO b/TODO index 30963848..7b5febcb 100644 --- a/TODO +++ b/TODO @@ -6,6 +6,13 @@ VERSION 2.2 TODO (Optimizations and latency) * Support for syslog(3). * Implement an UDP interface for low-latency operations. +* Use the same pointer of db->dict in db->expire hash table for keys. + 1) Set the keyptr hash table type key destructor to NULL. + 2) Don't copy the key in setExpire(), but instead lookup the same key + in the dict hash table, and use it. + 3) Make sure (and add comments about this) that when a key is deleted or + an expire is touched, the order is: delete the expire, delete the key. + 4) Make sure the SETEX command works well in all the cases. Add tests. VERSION 2.x TODO ================