Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
8c670072
Commit
8c670072
authored
Apr 01, 2010
by
Pieter Noordhuis
Browse files
allow 4 free trailing bytes for each value
parent
06278a67
Changes
1
Show whitespace changes
Inline
Side-by-side
zipmap.c
View file @
8c670072
...
@@ -92,7 +92,7 @@
...
@@ -92,7 +92,7 @@
/* The following defines the max value for the <free> field described in the
/* The following defines the max value for the <free> field described in the
* comments above, that is, the max number of trailing bytes in a value. */
* comments above, that is, the max number of trailing bytes in a value. */
#define ZIPMAP_VALUE_MAX_FREE
5
#define ZIPMAP_VALUE_MAX_FREE
4
/* The following macro returns the number of bytes needed to encode the length
/* The following macro returns the number of bytes needed to encode the length
* for the integer value _l, that is, 1 byte for lengths < ZIPMAP_BIGLEN and
* for the integer value _l, that is, 1 byte for lengths < ZIPMAP_BIGLEN and
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment