MCE::Map - Parallel map model similar to the native map function River stage three • 19 direct dependents • 312 total dependents

This module provides a parallel map implementation via Many-Core Engine. MCE incurs a small overhead due to passing of data. A fast code block will run faster natively. However, the overhead will likely diminish as the complexity increases for the co...

MARIOROY/MCE-1.862 - 19 Sep 2019 02:48:12 GMT

MCE::Subs - Exports functions mapped directly to MCE methods River stage three • 19 direct dependents • 312 total dependents

This module exports functions mapped to MCE methods. All exported functions are prototyped, therefore allowing one to call them without using parentheses. use MCE::Subs qw( :worker ); sub user_func { my $wid = MCE->wid; mce_say "A: $wid"; mce_sync; m...

MARIOROY/MCE-1.862 - 19 Sep 2019 02:48:12 GMT

MCE::Flow - Parallel flow model for building creative applications River stage three • 19 direct dependents • 312 total dependents

MCE::Flow is great for writing custom apps to maximize on all available cores. This module was created to help one harness user_tasks within MCE. It is trivial to parallelize with mce_stream shown below. ## Native map function my @a = map { $_ * 4 } ...

MARIOROY/MCE-1.862 - 19 Sep 2019 02:48:12 GMT

MCE::Step - Parallel step model for building creative steps River stage three • 19 direct dependents • 312 total dependents

MCE::Step is similar to MCE::Flow for writing custom apps. The main difference comes from the transparent use of queues between sub-tasks. MCE 1.7 adds mce_enq, mce_enqp, and mce_await methods described under QUEUE-LIKE FEATURES below. It is trivial ...

MARIOROY/MCE-1.862 - 19 Sep 2019 02:48:12 GMT

MCE::Loop - MCE model for building parallel loops River stage three • 19 direct dependents • 312 total dependents

This module provides a parallel loop implementation through Many-Core Engine. MCE::Loop is not MCE::Map but more along the lines of an easy way to spin up a MCE instance and have user_func pointing to your code block. If you want something similar to...

MARIOROY/MCE-1.862 - 19 Sep 2019 02:48:12 GMT

MCE::Hobo - A threads-like parallelization module River stage one • 2 direct dependents • 3 total dependents

A hobo is a migratory worker inside the machine that carries the asynchronous gene. Hobo processes are equipped with "threads"-like capability for running code asynchronously. Unlike threads, each hobo is a unique process to the underlying OS. The IP...

MARIOROY/MCE-Shared-1.862 - 19 Sep 2019 02:48:23 GMT

MCE::Child - A threads-like parallelization module compatible with Perl 5.8 River stage three • 19 direct dependents • 312 total dependents

MCE::Child is a fork of MCE::Hobo for compatibility with Perl 5.8. A child is a migratory worker inside the machine that carries the asynchronous gene. Child processes are equipped with "threads"-like capability for running code asynchronously. Unlik...

MARIOROY/MCE-1.862 - 19 Sep 2019 02:48:12 GMT

MCE::Stream - Parallel stream model for chaining multiple maps and greps River stage three • 19 direct dependents • 312 total dependents

This module allows one to stream multiple map and/or grep operations in parallel. Code blocks run simultaneously from right-to-left. The results are appended immediately when providing a reference to an array. ## Appends are serialized, even out-of-o...

MARIOROY/MCE-1.862 - 19 Sep 2019 02:48:12 GMT

MCE::Channel - Queue-like and two-way communication capability River stage three • 19 direct dependents • 312 total dependents

A MCE::Channel object is a container for sending and receiving data using socketpair handles. Serialization is provided by Sereal if available. Defaults to Storable otherwise. Excluding the "Simple" implementation, both ends of the "channel" support ...

MARIOROY/MCE-1.862 - 19 Sep 2019 02:48:12 GMT

MCE::Shared::Cache - A hybrid LRU-plain cache helper class River stage one • 2 direct dependents • 3 total dependents

A cache helper class for use as a standalone or managed by MCE::Shared. This module implements a least-recently used (LRU) cache with its origin based on MCE::Shared::Ordhash, for its performance and low-memory characteristics. It is both a LRU and p...

MARIOROY/MCE-Shared-1.862 - 19 Sep 2019 02:48:23 GMT

MCE::Shared::Condvar - Condvar helper class River stage one • 2 direct dependents • 3 total dependents

This helper class for MCE::Shared provides a "Scalar", "Mutex", and primitives for conditional locking....

MARIOROY/MCE-Shared-1.862 - 19 Sep 2019 02:48:23 GMT

11 results (0.037 seconds)