devel/p5-Hash-FieldHash 0.15 MidnightBSD
Lightweight field hash implementation
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- artistic, gpl
- Categories
- devel, perl5
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 |
|---|---|---|
| MidnightBSD | devel/p5-Hash-FieldHash | 0.15 |
| FreeBSD | devel/p5-Hash-FieldHash | 0.15 |
| NetBSD | devel/p5-Hash-FieldHash | 0.15nb10 |
| DragonFly | devel/p5-Hash-FieldHash | 0.15 |
| HardenedBSD | devel/p5-Hash-FieldHash | 0.15 |
| GhostBSD | devel/p5-Hash-FieldHash | 0.15 |
Install
Binary package:
mport install p5-Hash-FieldHash
From mports:
cd /usr/mports/devel/p5-Hash-FieldHash && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Hash-FieldHash>0:devel/p5-Hash-FieldHash
Dependencies
As this port's Makefile names them.
Test 1
p5-Test-LeakTrace>=0.07: devel/p5-Test-LeakTrace
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
Manual pages 1
- Hash::FieldHash(3)
pkg-plist 12
- %%SITE_PERL%%/auto/Hash/FieldHash/FieldHash.so
- %%SITE_PERL%%/Hash/FieldHash.pm
- %%SITE_PERL%%/man/man3/Hash::FieldHash.3.gz
- @dir %%SITE_PERL%%/auto/Hash/FieldHash
- @dir %%SITE_PERL%%/auto/Hash
- @dir %%SITE_PERL%%/auto
- @dir %%SITE_PERL%%/Hash
- @dir %%SITE_PERL%%/man/man3
- @dir %%SITE_PERL%%/man
- @dir
- @dir lib/perl5/site_perl
- @dir lib/perl5
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Hash-FieldHash-0.15.tar.gz | 29082 | 5c515707a5433796a5697b118ddbf1f216d13c5cd52f2b64292e76f7d9b7e8f1 |
Master sites 1
- CPAN