Received: by mail.netbsd.org (Postfix, from userid 605) id 9FDDC84EC1; Thu, 16 Apr 2020 12:14:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 2B50484D91 for ; Thu, 16 Apr 2020 12:14:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id nEfB81fsPMUN for ; Thu, 16 Apr 2020 12:14:11 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 9C76684C8B for ; Thu, 16 Apr 2020 12:14:11 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 904B4FB27; Thu, 16 Apr 2020 12:14:11 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_158703925175380" MIME-Version: 1.0 Date: Thu, 16 Apr 2020 12:14:11 +0000 From: "Makoto Fujiwara" Subject: CVS commit: pkgsrc/devel/p5-MooseX-ArrayRef To: pkgsrc-changes@NetBSD.org Reply-To: mef@netbsd.org X-Mailer: log_accum Message-Id: <20200416121411.904B4FB27@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_158703925175380 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: mef Date: Thu Apr 16 12:14:11 UTC 2020 Added Files: pkgsrc/devel/p5-MooseX-ArrayRef: DESCR Makefile distinfo Log Message: (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. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 pkgsrc/devel/p5-MooseX-ArrayRef/DESCR \ pkgsrc/devel/p5-MooseX-ArrayRef/Makefile \ pkgsrc/devel/p5-MooseX-ArrayRef/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_158703925175380 Content-Disposition: inline Content-Length: 2011 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Added files: Index: pkgsrc/devel/p5-MooseX-ArrayRef/DESCR diff -u /dev/null pkgsrc/devel/p5-MooseX-ArrayRef/DESCR:1.1 --- /dev/null Thu Apr 16 12:14:11 2020 +++ pkgsrc/devel/p5-MooseX-ArrayRef/DESCR Thu Apr 16 12:14:11 2020 @@ -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. Index: pkgsrc/devel/p5-MooseX-ArrayRef/Makefile diff -u /dev/null pkgsrc/devel/p5-MooseX-ArrayRef/Makefile:1.1 --- /dev/null Thu Apr 16 12:14:11 2020 +++ pkgsrc/devel/p5-MooseX-ArrayRef/Makefile Thu Apr 16 12:14:11 2020 @@ -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 +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" Index: pkgsrc/devel/p5-MooseX-ArrayRef/distinfo diff -u /dev/null pkgsrc/devel/p5-MooseX-ArrayRef/distinfo:1.1 --- /dev/null Thu Apr 16 12:14:11 2020 +++ pkgsrc/devel/p5-MooseX-ArrayRef/distinfo Thu Apr 16 12:14:11 2020 @@ -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 --_----------=_158703925175380--