pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/p5-MooX-TypeTiny (devel/p5-MooX-TypeTiny) import...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0c041f7fd544
branches: trunk
changeset: 427409:0c041f7fd544
user: mef <mef%pkgsrc.org@localhost>
date: Thu Apr 16 12:00:10 2020 +0000
description:
(devel/p5-MooX-TypeTiny) import MooX-TypeTiny-0.001004
This module optimizes Moo type checks when used with Type::Tiny to
perform better. It will automatically apply to isa checks and
coercions that use Type::Tiny. Non-Type::Tiny isa checks will work as
normal.
This is done by inlining the type check in a more optimal manner that
is specific to Type::Tiny rather than the general mechanism Moo
usually uses.
With this module, setters with type checks should be as fast as an
equivalent check in Moose.
It is hoped that eventually this type inlining will be done
automatically, making this module unnecessary.
diffstat:
devel/p5-MooX-TypeTiny/DESCR | 14 ++++++++++++++
devel/p5-MooX-TypeTiny/Makefile | 15 +++++++++++++++
devel/p5-MooX-TypeTiny/distinfo | 6 ++++++
3 files changed, 35 insertions(+), 0 deletions(-)
diffs (47 lines):
diff -r e927fa5ff49a -r 0c041f7fd544 devel/p5-MooX-TypeTiny/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-MooX-TypeTiny/DESCR Thu Apr 16 12:00:10 2020 +0000
@@ -0,0 +1,14 @@
+This module optimizes Moo type checks when used with Type::Tiny to
+perform better. It will automatically apply to isa checks and
+coercions that use Type::Tiny. Non-Type::Tiny isa checks will work as
+normal.
+
+This is done by inlining the type check in a more optimal manner that
+is specific to Type::Tiny rather than the general mechanism Moo
+usually uses.
+
+With this module, setters with type checks should be as fast as an
+equivalent check in Moose.
+
+It is hoped that eventually this type inlining will be done
+automatically, making this module unnecessary.
diff -r e927fa5ff49a -r 0c041f7fd544 devel/p5-MooX-TypeTiny/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-MooX-TypeTiny/Makefile Thu Apr 16 12:00:10 2020 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2020/04/16 12:00:10 mef Exp $
+
+DISTNAME= MooX-TypeTiny-0.001004
+CATEGORIES= devel
+MASTER_SITES= https://cpan.metacpan.org/authors/id/H/HA/HAARG/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://cpan.metacpan.org/authors/id/H/HA/HAARG/
+COMMENT= Optimized type checks for Moo + Type::Tiny
+LICENSE= ${PERL5_LICENSE}
+
+PERL5_PACKLIST= auto/MooX/TypeTiny/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r e927fa5ff49a -r 0c041f7fd544 devel/p5-MooX-TypeTiny/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-MooX-TypeTiny/distinfo Thu Apr 16 12:00:10 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/04/16 12:00:10 mef Exp $
+
+SHA1 (MooX-TypeTiny-0.001004.tar.gz) = 75c615ab33238d9af4e64b649dd721d1fc621c0e
+RMD160 (MooX-TypeTiny-0.001004.tar.gz) = ca303f306e4aed4a52f94b2fee058c10fd1585ca
+SHA512 (MooX-TypeTiny-0.001004.tar.gz) = e2801fb836b98b156de69a87624a03751c760c2e01c4bd8ccd8d55d63994b41eaf61471bfbaf42f586f2200424c3aca913fb2497b59aaa041b039144aee11880
+Size (MooX-TypeTiny-0.001004.tar.gz) = 12303 bytes
Home |
Main Index |
Thread Index |
Old Index