]> git.saurik.com Git - redis.git/commitdiff
Reference zset score in zskiplistNode from dict entries
authorPieter Noordhuis <pcnoordhuis@gmail.com>
Tue, 3 Aug 2010 18:49:53 +0000 (20:49 +0200)
committerPieter Noordhuis <pcnoordhuis@gmail.com>
Tue, 3 Aug 2010 18:49:53 +0000 (20:49 +0200)
This avoids the extra allocation of sizeof(double) for storing the score
of a zset entry in the hash table. Saves sizeof(double) + malloc
overhead = approx. 16 bytes per zset entry.


No differences found