Package : perl-Algorithm-FastPermute > RPM : perl-Algorithm-FastPermute-0.999.0-13.mga7.src.rpm

Basic items

Name perl-Algorithm-FastPermute
Version 0.999.0
Release 13.mga7
URL http://search.cpan.org/dist/Algorithm-FastPermute
Group Development/Perl
Summary Rapid generation of permutations
Size 10KB
Arch aarch64
License GPL+ or Artistic

Description

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.

Media information

Distribution release Mageia 7
Media name core-release
Media arch i586

Advanced items

Source RPM NOT IN DATABASE ?!
Build time 2018-09-21 00:02:33
Changelog View in Sophie
Files View in Sophie
Dependencies View in Sophie