Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Open
sripathikrishnan opened this Issue · 0 comments

1 participant

Sripathi Krishnan
Sripathi Krishnan

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
Something went wrong with that request. Please try again.