

1·
11 months agoLocality Sensitive Hashing. Not sure if it’s more algorithm than data structure, or even if it’s obscure, but it is very cool.


Locality Sensitive Hashing. Not sure if it’s more algorithm than data structure, or even if it’s obscure, but it is very cool.
Probably the silliest thing was discovering the hard way that x.5 doesn’t always round up in Python’s round(). Python uses “round to even” so that 1.5 rounds to 2 and 2.5 also rounds to 2.