Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devel/p5-Hash-Ordered: Add p5-Hash-Ordered 0.014
Hash::Ordered implements an ordered hash, meaning that it associates keys with values like a Perl hash, but keeps the keys in a consistent order. Because it is implemented as an object and manipulated with method calls, it is much slower than a Perl hash. This is the cost of keeping order. However, compared to other ordered hash implementations, Hash::Ordered is optimized for getting and setting individual elements and is generally faster at most other tasks as well. For specific details, see Hash::Ordered::Benchmarks.
- Loading branch information
Showing
5 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
PORTNAME= Hash-Ordered | ||
PORTVERSION= 0.014 | ||
CATEGORIES= devel perl5 | ||
MASTER_SITES= CPAN | ||
PKGNAMEPREFIX= p5- | ||
|
||
MAINTAINER= sunpoet@FreeBSD.org | ||
COMMENT= Fast, pure-Perl ordered hash class | ||
WWW= https://metacpan.org/dist/Hash-Ordered | ||
|
||
LICENSE= APACHE20 | ||
LICENSE_FILE= ${WRKSRC}/LICENSE | ||
|
||
TEST_DEPENDS= p5-Test-Deep>=0:devel/p5-Test-Deep \ | ||
p5-Test-FailWarnings>=0:devel/p5-Test-FailWarnings \ | ||
p5-Test-Fatal>=0:devel/p5-Test-Fatal | ||
|
||
USES= perl5 | ||
USE_PERL5= configure | ||
|
||
NO_ARCH= yes | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1681843820 | ||
SHA256 (Hash-Ordered-0.014.tar.gz) = 8dc36cd79155ae37ab8a3de5fd9120ffba9a31e409258c28529ec5251c59747b | ||
SIZE (Hash-Ordered-0.014.tar.gz) = 36831 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Hash::Ordered implements an ordered hash, meaning that it associates keys with | ||
values like a Perl hash, but keeps the keys in a consistent order. Because it is | ||
implemented as an object and manipulated with method calls, it is much slower | ||
than a Perl hash. This is the cost of keeping order. | ||
|
||
However, compared to other ordered hash implementations, Hash::Ordered is | ||
optimized for getting and setting individual elements and is generally faster at | ||
most other tasks as well. For specific details, see Hash::Ordered::Benchmarks. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
%%SITE_PERL%%/Hash/Ordered.pm | ||
%%SITE_PERL%%/Hash/Ordered/Benchmarks.pod | ||
%%PERL5_MAN3%%/Hash::Ordered.3.gz | ||
%%PERL5_MAN3%%/Hash::Ordered::Benchmarks.3.gz |