devel/p5-Hash-FieldHash 0.15 FreeBSD
Lightweight field hash implementation
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 19.8 KiB, 61.5 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 |
|---|---|---|
| FreeBSD | devel/p5-Hash-FieldHash | 0.15 |
| NetBSD | devel/p5-Hash-FieldHash | 0.15nb10 |
| DragonFly | devel/p5-Hash-FieldHash | 0.15 |
| MidnightBSD | devel/p5-Hash-FieldHash | 0.15 |
Install
Binary package:
pkg install p5-Hash-FieldHash
From the ports tree:
cd /usr/ports/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
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.15 | 0.15 | 0.15 | 0.15 | 0.15 |
| FreeBSD:14:quarterly | 0.15 | 0.15 | n/a | 0.15 | 0.15 |
| FreeBSD:15:latest | 0.15 | 0.15 | n/a | 0.15 | 0.15 |
| FreeBSD:15:quarterly | 0.15 | 0.15 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.15 | 0.15 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Test 1
p5-Test-LeakTrace>=0.07: devel/p5-Test-LeakTrace
The full lists below include those, and their dependencies in turn.
Build dependencies 2
Run dependencies 1
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 3
- %%SITE_ARCH%%/Hash/FieldHash.pm
- %%SITE_ARCH%%/auto/Hash/FieldHash/FieldHash.so
- %%PERL5_MAN3%%/Hash::FieldHash.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Hash-FieldHash-0.15.tar.gz | 29082 | 5c515707a5433796a5697b118ddbf1f216d13c5cd52f2b64292e76f7d9b7e8f1 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.