devel/p5-Hash-FieldHash 0.15 DragonFly
Lightweight field hash implementation
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 20.0 KiB, 62.9 KiB installed
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | devel/p5-Hash-FieldHash | 0.15 |
| FreeBSD | devel/p5-Hash-FieldHash | 0.15 |
| NetBSD | devel/p5-Hash-FieldHash | 0.15nb10 |
| MidnightBSD | devel/p5-Hash-FieldHash | 0.15 |
| HardenedBSD | devel/p5-Hash-FieldHash | 0.15 |
| GhostBSD | devel/p5-Hash-FieldHash | 0.15 |
Install
Binary package:
pkg install p5-Hash-FieldHash
From DPorts:
cd /usr/dports/devel/p5-Hash-FieldHash && make install clean
Dependencies
Run dependencies 1
No port depends on this one.