Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: eb5a17c8934ee065ac2b4f6a1cc7fd3744656d3c
https://github.com/Perl/perl5/commit/eb5a17c8934ee065ac2b4f6a1cc7fd3744656d3c
Author: Yves Orton <[email protected]>
Date: 2025-03-05 (Wed, 05 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: c2ae512726a79a146740ae764a0049d40eac1a17
https://github.com/Perl/perl5/commit/c2ae512726a79a146740ae764a0049d40eac1a17
Author: Yves Orton <[email protected]>
Date: 2025-03-05 (Wed, 05 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 docs for these
functions. Includes usage examples.
Compare: https://github.com/Perl/perl5/compare/82a05dc6fa3f...c2ae512726a7
To unsubscribe from these emails, change your notification settings at
https://github.com/Perl/perl5/settings/notifications