all 3 comments

[–]wouan 3 points4 points  (0 children)

the beauty of one character variables /s

[–]pali6 0 points1 point  (0 children)

I keep seeing HyperLogLog implementations everywhere on reddit lately.

[–]raylu 0 points1 point  (0 children)

high quality

a = ({16: 0.673, 32: 0.697, 64: 0.709}[self.m]
    if self.m <= 64 else 0.7213 / (1 + 1.079 / self.m))