projects
/
redis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06278a6
)
allow 4 free trailing bytes for each value
author
Pieter Noordhuis
<pcnoordhuis@gmail.com>
Thu, 1 Apr 2010 11:15:32 +0000
(13:15 +0200)
committer
Pieter Noordhuis
<pcnoordhuis@gmail.com>
Thu, 1 Apr 2010 11:15:32 +0000
(13:15 +0200)
zipmap.c
patch
|
blob
|
blame
|
history
diff --git
a/zipmap.c
b/zipmap.c
index 8a07b388ed5aabb6af3cd83a4bc175d1a6bf6f7b..5215954ada520b9992e07508d5c47d634e783bfc 100644
(file)
--- a/
zipmap.c
+++ b/
zipmap.c
@@
-92,7
+92,7
@@
/* 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. */
-#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
* for the integer value _l, that is, 1 byte for lengths < ZIPMAP_BIGLEN and