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: 21.mga10 | Build date: Thu Aug 22 22:43:58 2024 |
Group: Development/Perl | Build host: localhost |
Size: 21670 | Source RPM: perl-Algorithm-FastPermute-0.999.0-21.mga10.src.rpm |
Packager: neoclust <neoclust> | |
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 Aug 22 2024 neoclust <neoclust> 0.999.0-21.mga10 + Revision: 2087977 - Rebuild against new perl * Thu Nov 30 2023 tv <tv> 0.999.0-20.mga10 + Revision: 2011551 - Rebuild for perl-5.38
/usr/lib/.build-id /usr/lib/.build-id/ba /usr/lib/.build-id/ba/fe233485b2364fe89687c0dab9d0b84aafe895 /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, Sat Nov 16 12:43:05 2024