in reply to Re^2: PerlApi: hashes
in thread PerlApi: hashes
heh :)
http://perl5.git.perl.org/perl.git/blob?f=hv.h#l457
457 #define hv_exists_ent(hv, keysv, hash) + \ 458 (hv_common((hv), (keysv), NULL, 0, 0, HV_FETCH_ISEXISTS, 0, (h +ash)) \ 459 ? TRUE : FALSE) 460 #define hv_fetch_ent(hv, keysv, lval, hash) + \ 461 ((HE *) hv_common((hv), (keysv), NULL, 0, 0, + \
Seems all the hash functions are built on http://perldoc.perl.org/perlapi.html#hv_common which is undocumented and subject to change, at least its Only 579 lines http://perl5.git.perl.org/perl.git/blob?f=hv.c#l337
http://perl5.git.perl.org/perl.git?a=search&h=HEAD&st=grep&s=PERL_HASH_WITH_SEED
hello? https://metacpan.org/pod/Hash::Util#hash_value
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: PerlApi: hashes
by BrowserUk (Patriarch) on Aug 12, 2015 at 12:38 UTC | |
by NERDVANA (Priest) on Jul 11, 2018 at 04:02 UTC |