Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-Algorithm-FastPermute | Distribution: Mageia |
Version: 0.999.0 | Vendor: Mageia.Org |
Release: 20.mga10 | Build date: Thu Nov 30 10:47:33 2023 |
Group: Development/Perl | Build host: localhost |
Size: 21794 | Source RPM: perl-Algorithm-FastPermute-0.999.0-20.mga10.src.rpm |
Packager: tv <tv> | |
Url: https://metacpan.org/release/Algorithm-FastPermute | |
Summary: Rapid generation of permutations |
Algorithm::FastPermute generates all the permutations of an array. You pass a block of code, which will be executed for each permutation. The array will be changed in place, and then changed back again before 'permute' returns. During the execution of the callback, the array is read-only and you'll get an error if you try to change its length. (You _can_ change its elements, but the consequences are liable to confuse you and may change in future versions.) You have to pass an array, it can't just be a list. It *does* work with special arrays and tied arrays, though unless you're doing something particularly abstruse you'd be better off copying the elements into a normal array first. It's very fast. My tests suggest it's four or five times as fast as Algorithm::Permute's traditional interface. If you're permuting a large list (nine or more elements, say) then you'll appreciate this enormously. If your lists are short then Algorithm::Permute will still finish faster than you can blink, and you may find its interface more convenient.
GPL+ or Artistic
* Thu Nov 30 2023 tv <tv> 0.999.0-20.mga10 + Revision: 2011551 - Rebuild for perl-5.38 * Mon Jun 06 2022 umeabot <umeabot> 0.999.0-19.mga9 + Revision: 1861529 - Rebuild for Perl 5.36 * Thu Mar 17 2022 umeabot <umeabot> 0.999.0-18.mga9 + Revision: 1795463 - Mageia 9 Mass Rebuild
/usr/lib/.build-id /usr/lib/.build-id/8a /usr/lib/.build-id/8a/a8f32b69bac10defd33ba78c4102e7c816af58 /usr/lib/perl5/vendor_perl/Algorithm /usr/lib/perl5/vendor_perl/Algorithm/FastPermute.pm /usr/lib/perl5/vendor_perl/Algorithm/perms.pl /usr/lib/perl5/vendor_perl/auto /usr/lib/perl5/vendor_perl/auto/Algorithm /usr/lib/perl5/vendor_perl/auto/Algorithm/FastPermute /usr/lib/perl5/vendor_perl/auto/Algorithm/FastPermute/FastPermute.so /usr/share/doc/perl-Algorithm-FastPermute /usr/share/doc/perl-Algorithm-FastPermute/Changes /usr/share/doc/perl-Algorithm-FastPermute/META.yml /usr/share/doc/perl-Algorithm-FastPermute/README /usr/share/man/man3/Algorithm::FastPermute.3pm.xz
Generated by rpm2html 1.8.1
Fabrice Bellet, Mon Jun 17 03:38:23 2024