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
4e0a99ba
Commit
4e0a99ba
authored
Apr 14, 2014
by
antirez
Browse files
Comment typo in hllSparseAdd(). first -> fits.
parent
5532b530
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/hyperloglog.c
View file @
4e0a99ba
...
@@ -824,7 +824,7 @@ updated:
...
@@ -824,7 +824,7 @@ updated:
continue
;
continue
;
}
}
/* We need two adjacent VAL opcodes to try a merge, having
/* We need two adjacent VAL opcodes to try a merge, having
* the same value, and a len that fi
rs
t the VAL opcode max len. */
* the same value, and a len that fit
s
the VAL opcode max len. */
if
(
p
+
1
<
end
&&
HLL_SPARSE_IS_VAL
(
p
+
1
))
{
if
(
p
+
1
<
end
&&
HLL_SPARSE_IS_VAL
(
p
+
1
))
{
int
v1
=
HLL_SPARSE_VAL_VALUE
(
p
);
int
v1
=
HLL_SPARSE_VAL_VALUE
(
p
);
int
v2
=
HLL_SPARSE_VAL_VALUE
(
p
+
1
);
int
v2
=
HLL_SPARSE_VAL_VALUE
(
p
+
1
);
...
...
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