Name : perl-Parallel-Loops
| |
Version : 0.12
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.1.1
| Date : 2024-01-10 06:47:55
|
Group : Unspecified
| Source RPM : perl-Parallel-Loops-0.12-lp155.1.1.src.rpm
|
Size : 0.06 MB
| |
Packager : https://www_suse_com/
| |
Summary : Execute loops using parallel forked subprocesses
|
Description :
Often a loop performs calculations where each iteration of the loop does not depend on the previous iteration, and the iterations really could be carried out in any order.
This module allows you to run such loops in parallel using all the CPUs at your disposal.
Return values are automatically transfered from children to parents via %hashes or AATTarrays, that have explicitly been configured for that sort of sharing via $pl->share(). Hashes will transfer keys that are set in children (but not cleared or unset), and elements that are pushed to AATTarrays in children are pushed to the parent AATTarray too (but note that the order is not guaranteed to be the same as it would have been if done all in one process, since there is no way of knowing which child would finish first!)
If you can see past the slightly awkward syntax, you\'re basically getting foreach and while loops that can run in parallel without having to bother with fork, pipes, signals etc. This is all handled for you by this module.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-P/15.5/noarch |