I did end up making a Sequence extension that adds an FNV hashing function. I haven't uploaded it yet. I'm wondering which category of Algorithms would it go under. Or should we create some sort of group for hashing algorithms (or something that's a super-set)?
to be honest, i don’t think this belongs in the swift-algorithms package - it is too niche, and opens up a thicket of “what else is in scope” questions for the project.
one thing i probably should have done earlier is move the battle-tested FNV-1 implementation i linked in the other thread from the Unidoc repo to something more “consumable”, like my swift-hash repo. i just haven’t gotten around to doing that yet, partly because the variant of the FNV-1 hash used by DocC is different from the canonical FNV-1 algorithm, and so i wondered if it was too bespoke even for a specialized hash function library. however i can be convinced otherwise.