jermp / pthash

Fast and compact minimal perfect hash functions in C++.
MIT License
179 stars 25 forks source link

Assert that both occurrences of the same parameters are set to the same #33

Closed ByteHamster closed 3 months ago

jermp commented 3 months ago

Yes, actually this is currently not ideal as the builder itself should be templated by those templates, but this increases compilation and code size. So I think it's fine for the moment being just to assert as you suggested.