Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
b438bc5a
Unverified
Commit
b438bc5a
authored
Jun 07, 2021
by
Jeremy Kun
Committed by
GitHub
Jun 07, 2021
Browse files
comment typo: form -> from (#8921)
parent
a972503f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/hyperloglog.c
View file @
b438bc5a
...
...
@@ -1033,7 +1033,7 @@ uint64_t hllCount(struct hllhdr *hdr, int *invalid) {
serverPanic
(
"Unknown HyperLogLog encoding in hllCount()"
);
}
/* Estimate cardinality f
o
rm register histogram. See:
/* Estimate cardinality fr
o
m register histogram. See:
* "New cardinality estimation algorithms for HyperLogLog sketches"
* Otmar Ertl, arXiv:1702.01284 */
double
z
=
m
*
hllTau
((
m
-
reghisto
[
HLL_Q
+
1
])
/
(
double
)
m
);
...
...
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