Closed kshedden closed 7 years ago
No problem with that, I will accept a PR if you make one.
However, for the sake of consistency, please name your method NewFromByteArray, in order to reflect the naming scheme adopted with NewFromInt in rabinkarp32.
FYI in the next version of rollinghash, buzhash will be renamed to buzhash32 and I will add a buzhash64 version.
I need to be able to set the bytehash table in buzhash when calling New (to create multiple independent rolling hashes). It's an easy extension (I created an alternative New called NewWithByteHash). I can make a PR if you are interested.