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
d4e6d108
Unverified
Commit
d4e6d108
authored
Feb 22, 2018
by
gechunlin
Committed by
GitHub
Feb 22, 2018
Browse files
Update object.c
parent
ffde73c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/object.c
View file @
d4e6d108
...
...
@@ -111,7 +111,7 @@ robj *createEmbeddedStringObject(const char *ptr, size_t len) {
* OBJ_ENCODING_EMBSTR_SIZE_LIMIT, otherwise the RAW encoding is
* used.
*
* The current limit of
39
is chosen so that the biggest string object
* The current limit of
44
is chosen so that the biggest string object
* we allocate as EMBSTR will still fit into the 64 byte arena of jemalloc. */
#define OBJ_ENCODING_EMBSTR_SIZE_LIMIT 44
robj
*
createStringObject
(
const
char
*
ptr
,
size_t
len
)
{
...
...
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