size_t max_queue_size = std::thread::hardware_concurrency(),
size_t batch_size = 2)
{
return [=](auto inputs)
{
return std::move(inputs)
{
return std::move(inputs_batch)
}, max_queue_size)
};
}
impl::group_adjacent_by< impl::chunker > in_groups_of(size_t n)
Group adjacent elements into chunks of specified size.
static auto lazy_transform_in_parallel
impl::concat concat()
Flatten the result of group_all_by or group_adjacent_by.
LINQ -like library of higher-order functions for data manipulation.
impl::to_vector to_vector()
Move elements of an Iterable to std::vector.