Parallex v0.1.0 Parallex View Source
Concurrent versions of some common Enum
functions.
These might be useful if the applied function is heavy.
Link to this section Summary
Functions
Perform an Enum.filter/2
function using concurrent processes
Perform an Enum.map/2
function using concurrent processes
Link to this section Functions
Perform an Enum.filter/2
function using concurrent processes.
Examples
iex> Parallex.pfilter([1, 2, 3, 4], &(&1 < 4))
[1, 2, 3]
Perform an Enum.map/2
function using concurrent processes.
Examples
iex> Parallex.pmap([1, 2, 3, 4], &(&1*&1))
[1, 4, 9, 16]