Branch: refs/heads/yves/siphash_comment_docs Home: https://github.com/Perl/perl5 Commit: eb305111661f7cce339d41c61cca076bc853f30b https://github.com/Perl/perl5/commit/eb305111661f7cce339d41c61cca076bc853f30b Author: Yves Orton <demer...@gmail.com> Date: 2025-03-01 (Sat, 01 Mar 2025)
Changed paths: M perl_siphash.h Log Message: ----------- perl_siphash.h - add a 64 bit variant for testing, cleanup line endings Scott Baker wanted a 64 bit general purpose hash function. Currently our Siphash implementation is optimized for use in the internal hash tables by having its state initialization separated from the main hash function. We have a 32 bit variant we use for testing that takes a seed and not a state, but our only 64 bit support has the seeding step split out. This patch exposes a seedable 64 bit function. Note, that Siphash *is* a 64 bit hash function, however historically we only use 32 bit hashes in our hash tables. The new variant we expose here basically just exposes the normal Siphash that most people would use. A follow up patch will add documentation. Commit: b8ee44ac5c44d3b17ff6b41cc706d663cd95bde2 https://github.com/Perl/perl5/commit/b8ee44ac5c44d3b17ff6b41cc706d663cd95bde2 Author: Yves Orton <demer...@gmail.com> Date: 2025-03-01 (Sat, 01 Mar 2025) Changed paths: M perl_siphash.h Log Message: ----------- perl_siphash.h - add documentation Scott Baker asked for documentation for these functions. This adds documentation sections so that autodoc can include Compare: https://github.com/Perl/perl5/compare/7aa69c55babf...b8ee44ac5c44 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications