Module generate

Module generate 

Source
Expand description

Parallel data generation: Source and Sink and generate_in_chunks

These traits and function are used to generate data in parallel and write it to a sink in streaming fashion (chunks). This is useful for generating large datasets that don’t fit in memory.

Traits§

Sink
Something that can write the contents of a buffer somewhere
Source
Something that knows how to generate data into a buffer

Functions§

generate_in_chunks
Generates data in parallel from a series of Source and writes to a Sink