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
74e0f445
"vscode:/vscode.git/clone" did not exist on "ef59a8bc9ef426f9d24e701e9b73a6a03ddd3d0f"
Commit
74e0f445
authored
Jun 03, 2010
by
Pieter Noordhuis
Browse files
use ziplists in SORT STORE until the thresholds are determined
parent
e1f93d4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
redis.c
View file @
74e0f445
...
...
@@ -7407,12 +7407,7 @@ static void sortCommand(redisClient *c) {
}
}
} else {
robj *sobj;
if (outputlen > server.list_max_ziplist_entries) {
sobj = createListObject();
} else {
sobj = createZiplistObject();
}
robj *sobj = createZiplistObject();
/* STORE option specified, set the sorting result as a List object */
for (j = start; j <= end; j++) {
...
...
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