Branch: refs/heads/yves/siphash_comment_docs Home: https://github.com/Perl/perl5 Commit: 47f807661d730a60a546ed7e485e7d2d8c07a8c0 https://github.com/Perl/perl5/commit/47f807661d730a60a546ed7e485e7d2d8c07a8c0 Author: Yves Orton <demer...@gmail.com> Date: 2025-02-28 (Fri, 28 Feb 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: 7aa69c55babf8c5421bb6370d8fb4b607b63bab3 https://github.com/Perl/perl5/commit/7aa69c55babf8c5421bb6370d8fb4b607b63bab3 Author: Yves Orton <demer...@gmail.com> Date: 2025-02-28 (Fri, 28 Feb 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/0a5babdd11ec...7aa69c55babf To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications