pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-MooseX-ArrayRef (devel/p5-MooseX-ArrayRef) im...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a2fca0194548
branches:  trunk
changeset: 427410:a2fca0194548
user:      mef <mef%pkgsrc.org@localhost>
date:      Thu Apr 16 12:14:11 2020 +0000

description:
(devel/p5-MooseX-ArrayRef) import MooseX-ArrayRef-0.005

Objects implemented with arrayrefs rather than hashrefs are often
faster than those implemented with hashrefs. Moose's default object
implementation is hashref based. Can we go faster?

Simply use MooseX::ArrayRef instead of use Moose, but note the
limitations in the section below.

The current implementation is mostly a proof of concept, but it does
mostly seem to work.

diffstat:

 devel/p5-MooseX-ArrayRef/DESCR    |   9 +++++++++
 devel/p5-MooseX-ArrayRef/Makefile |  15 +++++++++++++++
 devel/p5-MooseX-ArrayRef/distinfo |   6 ++++++
 3 files changed, 30 insertions(+), 0 deletions(-)

diffs (42 lines):

diff -r 0c041f7fd544 -r a2fca0194548 devel/p5-MooseX-ArrayRef/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-MooseX-ArrayRef/DESCR    Thu Apr 16 12:14:11 2020 +0000
@@ -0,0 +1,9 @@
+Objects implemented with arrayrefs rather than hashrefs are often
+faster than those implemented with hashrefs. Moose's default object
+implementation is hashref based. Can we go faster?
+
+Simply use MooseX::ArrayRef instead of use Moose, but note the
+limitations in the section below.
+
+The current implementation is mostly a proof of concept, but it does
+mostly seem to work.
diff -r 0c041f7fd544 -r a2fca0194548 devel/p5-MooseX-ArrayRef/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-MooseX-ArrayRef/Makefile Thu Apr 16 12:14:11 2020 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2020/04/16 12:14:11 mef Exp $
+
+DISTNAME=      MooseX-ArrayRef-0.005
+CATEGORIES=    devel perl5
+MASTER_SITES=  https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/
+COMMENT=       Blessed arrayrefs with Moose
+LICENSE=       ${PERL5_LICENSE}
+
+PERL5_PACKLIST= auto/MooseX/ArrayRef/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 0c041f7fd544 -r a2fca0194548 devel/p5-MooseX-ArrayRef/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-MooseX-ArrayRef/distinfo Thu Apr 16 12:14:11 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/04/16 12:14:11 mef Exp $
+
+SHA1 (MooseX-ArrayRef-0.005.tar.gz) = 703fcf3365f5d52eab5989775bda918645f068a4
+RMD160 (MooseX-ArrayRef-0.005.tar.gz) = beda2dfa8231596ed7e26052566acc540ed86675
+SHA512 (MooseX-ArrayRef-0.005.tar.gz) = bfc62fd6bf083cb74f05e318b052c49c3c00afc4d1b6f4f07ec7279d53ce3303bf6aca9cdefc32c712f87ee431ba447d43f98adf697c55641450807708f2b16f
+Size (MooseX-ArrayRef-0.005.tar.gz) = 17552 bytes



Home | Main Index | Thread Index | Old Index