pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/p5-Math-Prime-Util



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Sep 26 14:37:13 UTC 2017

Modified Files:
        pkgsrc/math/p5-Math-Prime-Util: Makefile distinfo

Log Message:
p5-Math-Prime-Util: update to 0.67.

0.67 2017-09-23

    [ADDED]

    - lastfor                         stops forprimes (etc.) iterations
    - is_square(n)                    returns 1 if n is a perfect square
    - is_polygonal(n,k)               returns 1 if n is a k-gonal number

    [FUNCTIONALITY AND PERFORMANCE]

    - shuffle prototype is @ instead of ;@, so matches List::Util.

    - On Perl 5.8 and earlier we will call PP instead of trying
      direct-to-GMP.  Works around a bug in XS trying to turn the
      result into an object where 5.8.7 and earlier gets lost.

    - We create more const integers, which speeds up common uses of
      permutations.

    - CSPRNG now stores context per-thread rather than using a single
      mutex-protected context.  This speeds up anything using random
      numbers a fair amount, especially with threaded Perls.

    - With the above two optimizations, randperm(144) is 2.5x faster.

    - threading test has threaded srand/irand test added back in, showing
      context is per-thread.  Each thread gets its own sequence and calls
      to srand/csrand and using randomness doesn't impact other threads.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/math/p5-Math-Prime-Util/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/math/p5-Math-Prime-Util/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/p5-Math-Prime-Util/Makefile
diff -u pkgsrc/math/p5-Math-Prime-Util/Makefile:1.17 pkgsrc/math/p5-Math-Prime-Util/Makefile:1.18
--- pkgsrc/math/p5-Math-Prime-Util/Makefile:1.17        Sun Sep 17 20:10:59 2017
+++ pkgsrc/math/p5-Math-Prime-Util/Makefile     Tue Sep 26 14:37:13 2017
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.17 2017/09/17 20:10:59 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2017/09/26 14:37:13 wiz Exp $
 
-DISTNAME=      Math-Prime-Util-0.66
+DISTNAME=      Math-Prime-Util-0.67
 PKGNAME=       p5-${DISTNAME}
 CATEGORIES=    math perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Math/}

Index: pkgsrc/math/p5-Math-Prime-Util/distinfo
diff -u pkgsrc/math/p5-Math-Prime-Util/distinfo:1.13 pkgsrc/math/p5-Math-Prime-Util/distinfo:1.14
--- pkgsrc/math/p5-Math-Prime-Util/distinfo:1.13        Sun Sep 17 20:10:59 2017
+++ pkgsrc/math/p5-Math-Prime-Util/distinfo     Tue Sep 26 14:37:13 2017
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.13 2017/09/17 20:10:59 wiz Exp $
+$NetBSD: distinfo,v 1.14 2017/09/26 14:37:13 wiz Exp $
 
-SHA1 (Math-Prime-Util-0.66.tar.gz) = c5809df6395a896babe04c63ebf54372209b6752
-RMD160 (Math-Prime-Util-0.66.tar.gz) = 6c4fe084c6e005ddfff98250680e42335ad88d72
-SHA512 (Math-Prime-Util-0.66.tar.gz) = dafe91993cd48309a8bc7b675e9b37f7cb119295da31c404a4405d5dc3faa507c689e014db769f8d0552dffecd317df4a83118a017f62222f3c3215947692eae
-Size (Math-Prime-Util-0.66.tar.gz) = 583938 bytes
+SHA1 (Math-Prime-Util-0.67.tar.gz) = 7f58a95832ff78e463d2856327fbc6cd29fef6fd
+RMD160 (Math-Prime-Util-0.67.tar.gz) = 8f9ea466dd1effe4e9564461cc27fac0e1d46025
+SHA512 (Math-Prime-Util-0.67.tar.gz) = 0be38e6edb2d878103e0570eeb40430527b9389676d7e861889f42b235668be67c19019fe6c756087100110fb8c40c87b0440ea5d04079c8d14db38448c9e39d
+Size (Math-Prime-Util-0.67.tar.gz) = 588847 bytes



Home | Main Index | Thread Index | Old Index