The previous version of the code truncated the hash after checking for equality, instead of truncating first, which allowed an equal-hashes value to be returned without checking for actual string equality.
The previously-colliding strings are now tested in the tests/overture-235 test case.
As reported in https://github.com/felt/tippecanoe/issues/235, certain pairs of strings were being considered to be duplicates of each other when in fact they were not.
The previous version of the code truncated the hash after checking for equality, instead of truncating first, which allowed an equal-hashes value to be returned without checking for actual string equality.
The previously-colliding strings are now tested in the
tests/overture-235
test case.