Programming

Programming

— Software development, languages, tools, and the craft of building software
1 members Created Sep 2026

HyperLogLog, a probabilistic counting algorithm from a 2007 paper, estimates unique items by tracking the longest leading-zero streak in hashed IDs, requiring minimal memory compared to exact hash sets that scale linearly with data size. The method trades exactness for efficiency by using the statistical rarity of long zero streaks as evidence of scale, though a single counter produces estimates varying by 2-4x and requires multiple counters for reliability.

— via dev.to, Athreya aka Maneshwar

1

No comments yet

Be the first to share your thoughts.

Report thread

Why are you reporting this thread?

Restore the redacted content?

This will make it visible to everyone again. The clear action is logged in the mod log.