Re:The One Billion Row Challenge
by anonymoushn on Thursday January 04, 2024 @08:34AM
(#38866775)
You can design inputs that defeat this scheme though. I thought the point was to be correct for all valid inputs.
Simply add up all the bytes of all seen placenames while running your fast algorithm. This is effectively a checksum of all bytes of placename data.
Then at the end, calculate the 'correct' name-sum (which can be done cheaply). If it doesn't match, a collision occurred.