aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Hash-FieldHash/pkg-descr
blob: 2d51d95789c842182c698d96bc27cdbd6908731a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Hash::FieldHash provides the field hash mechanism which supports the inside-out
technique.

You may know Hash::Util::FieldHash. It's a very useful module, but too complex
to understand all the functions and only available in 5.10. H::U::F::Compat is
available for pre-5.10, but it seems too slow to use.

This is an alternative to H::U::F with following features:

Simpler interface
- Hash::FieldHash provides a few functions: fieldhash() and fieldhashes().
  That's enough.

Higher performance
- Hash::FieldHash is faster than Hash::Util::FieldHash, because its internals
  use simpler structures.

Relic support
- Although Hash::FieldHash uses a new feature introduced in Perl 5.10, the uvar
  magic for hashes described in "GUTS" in Hash::Util::Fieldhash, it supports
  Perl 5.8 using the traditional tie-hash layer.

WWW: https://metacpan.org/release/Hash-FieldHash