You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The FolderSync trait and the folder_par_sink macro are a convenience to minimise boilerplate implementing ParallelSink for operations which can be implemented as a synchronous fold operation, which is most of them.
There are two kinds of operation: adapter1 operations (like
map
,flat_map
,filter
,chain
) and reducer operations (likesum
,max
,collect
,fold
).Adding a reducer operation
ParallelSink
, probably in a new file in amadeus-core/src/par_sink (don't forget to addmod new_file;
to amadeus-core/src/par_sink.rs).FolderSync
trait.FolderSync
trait and thefolder_par_sink
macro are a convenience to minimise boilerplate implementingParallelSink
for operations which can be implemented as a synchronous fold operation, which is most of them.cargo clippy --all-targets
andcargo fmt --all
Adding an adapter operation
ParallelStream
andParallelPipe
, probably in a new file in amadeus-core/src/par_stream (don't forget to addmod new_file;
to amadeus-core/src/par_stream.rs).cargo clippy --all-targets
andcargo fmt --all
The text was updated successfully, but these errors were encountered: