From: antirez <antirez@gmail.com>
Date: Mon, 7 Jun 2010 16:30:18 +0000 (+0200)
Subject: TODO updated
X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/056c19c6f21e3729212924f76956e4bbb2d3a04c?ds=inline

TODO updated
---

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
 ================