BSD Ports

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

SystemPortVersion
FreeBSDdevel/p5-Hash-FieldHash0.15
NetBSDdevel/p5-Hash-FieldHash0.15nb10
DragonFlydevel/p5-Hash-FieldHash0.15
MidnightBSDdevel/p5-Hash-FieldHash0.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.150.150.150.150.15
FreeBSD:14:quarterly0.150.15n/a0.150.15
FreeBSD:15:latest0.150.15n/a0.150.15
FreeBSD:15:quarterly0.150.15n/an/an/a
FreeBSD:16:latest0.150.15n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Test 1

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
FileSizeSHA256
Hash-FieldHash-0.15.tar.gz290825c515707a5433796a5697b118ddbf1f216d13c5cd52f2b64292e76f7d9b7e8f1
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.