On Wed, Apr 23, 2014 at 4:43 PM, Fumin Wang <
awaw...@gmail.com> wrote:
> Nevertheless, there remains the partly academic question: why the switch
> from zipmaps to ziplists around 2 years ago? From what I can see, zipmaps
> are actually not used anywhere except in zipmap.c/h and tests. I'm curious
> about the real world cases or profiling results that suggest the total
> deprecation of zipmaps.
Hello,
the idea was that having two different encodings was not a good idea,
two times the bugs, and so forth. Also ziplists were more
space-efficient.
So if I remember correctly Pieter Noordhuis at some point rewrote the
code to use ziplists instead.
Only one format to deal with...
Salvatore
--
Salvatore 'antirez' Sanfilippo
open source developer - GoPivotal
http://invece.org
To "attack a straw man" is to create the illusion of having refuted a
proposition by replacing it with a superficially similar yet
unequivalent proposition (the "straw man"), and to refute it
— Wikipedia (Straw man page)