Skip to content

Commit

Permalink
Typo fix in hyperloglog.c (#807)
Browse files Browse the repository at this point in the history
Change from hypreloglog to hyperloglog

Signed-off-by: mwish <[email protected]>
  • Loading branch information
mapleFU authored Jul 20, 2024
1 parent 15a8290 commit 6eb19cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hyperloglog.c
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ int hllSparseSet(robj *o, long index, uint8_t count) {
* for future reallocates on incremental growth. But we do not allocate more than
* 'server.hll_sparse_max_bytes' bytes for the sparse representation.
* If the available size of hyperloglog sds string is not enough for the increment
* we need, we promote the hypreloglog to dense representation in 'step 3'.
* we need, we promote the hyperloglog to dense representation in 'step 3'.
*/
if (sdsalloc(o->ptr) < server.hll_sparse_max_bytes && sdsavail(o->ptr) < 3) {
size_t newlen = sdslen(o->ptr) + 3;
Expand Down

0 comments on commit 6eb19cf

Please sign in to comment.