Changes for version v0.3.14 - 2026-11-24
- A list sink, such as keep_all, is about a quarter quicker read by an iterator's all, and over a third quicker pushed, as DBIx-Squirrel found it the slowest way to read every row.
- It ships no roadmap item, and changes nothing a run gives: only how fast all collects it.
- Where an iterator's all, or a pushed run, collects a run's values, the values after the first that the last part gives at once, a list sink's result, a last gather's flush, or a last stage returning several, go straight to what it returns, in order, rather than each wrapped and queued, then taken off the queue one at a time, as the run's next still does. Through one stage that does nothing, 300,000 values, on Perl 5.36 and 5.44: keep_all read by all, 1,105 to 845 ns a value, and 1,186 to 914; pushed, 1,000 to 625, and 1,090 to 660; a last stage returning three values, 1,625 to 1,180, and 1,762 to 1,285. Runs that don't cost the same.
Documentation
Ekorn::Pipeline user guide
Ekorn::Pipeline reference
Modules
run values through a list of stages
read and write CSV and TSV, as sources, stages or sinks
what a stage can ask about the result it's making
what Ekorn's types are made from
report Ekorn::Pipeline's errors at the caller's line
words that make Ekorn's types
one run, fed values as they arrive
a stage made afresh for each run, told when its values run out
one run, handing out its values as they're pulled
read and write JSON and JSON Lines, as sources, stages or sinks
|, |= and @{} for Ekorn's types
pipe and tap methods, running an object through stages
a sink made afresh for each run
ready-made sinks, needing only Perl
a source made afresh for each run
ready-made sources, needing only Perl
a stage, as an object
stages gathering values: batch and collect
stages taking or dropping values: take, drop, take_if, drop_if, take_while and drop_while
stages run for their side effects: peek, count_into, dump_to and tee
end a pipeline early
name pipelines as the program compiles, each with a function
Ekorn's stages, sources, sinks and words, from one module
Provides
in lib/Ekorn/Pipeline/CSV.pm
in lib/Ekorn/Pipeline/Operators.pm
in lib/Ekorn/Pipeline/Operators.pm
in lib/Ekorn/Pipeline/Sink.pm
in lib/Ekorn/Pipeline/Sink.pm