Thu Apr 16 12:14:11 2020 UTC ()
(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.


(mef)
diff -r0 -r1.1 pkgsrc/devel/p5-MooseX-ArrayRef/DESCR
diff -r0 -r1.1 pkgsrc/devel/p5-MooseX-ArrayRef/Makefile
diff -r0 -r1.1 pkgsrc/devel/p5-MooseX-ArrayRef/distinfo

File Added: pkgsrc/devel/p5-MooseX-ArrayRef/DESCR
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.

File Added: pkgsrc/devel/p5-MooseX-ArrayRef/Makefile
# $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
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"

File Added: pkgsrc/devel/p5-MooseX-ArrayRef/distinfo
$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