Account for Embedded String Encoding when calculating memory used by a key #15

sripathikrishnan opened this Issue Sep 25, 2012 · 0 comments


None yet
1 participant

sripathikrishnan commented Sep 25, 2012

Antirez has a new memory optimization branch - antirez/redis@unstable...memopt

Smaller strings (less than 32 bytes) are inlined. This gets rid of an extra pointer, and so saves some memory (not a whole lot). Not a big deal, but something that we should account never the less.

This should be fixed only after the optimization branch reaches unstable/master branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment