From 056c19c6f21e3729212924f76956e4bbb2d3a04c Mon Sep 17 00:00:00 2001 From: antirez Date: Mon, 7 Jun 2010 18:30:18 +0200 Subject: [PATCH] TODO updated --- TODO | 7 +++++++ 1 file changed, 7 insertions(+) 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 ================ -- 2.47.2