package incr_map
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=a29d13cbc1759714ef49cc398ccfd5548212d1c0ba497552877548c9ce734d67
CHANGES.md.html
Release v0.16.0
Incr_map
New functions
cutoff
- applies a cutoff to the values in an incremental mappartition_mapi'
- likepartition_mapi
, but the callback function has an incremental input and outputunordered_fold_with_extra
- likeunordered_fold
, but depends on an arbitrary extra incremental value that can be factored into the folding computationmerge_both_some
- likemerge
, but the mapping callback function is only called on keys contained in both maps
New arguments
Add
Instrumentation
module and optionalinstrumentation
argument to allIncr_map
functions, which can be used for performance profilingAdd optional
finalize
argument tounordered_fold
, which can be used to change the order in which fold operations are processed
Bug fixes
Fix function
subrange_by_rank
to handle unbounded lower bound correctlyFix typo in function name
mapi_mn
tomap_min
Erase_key
Small new library for type-erasing the key from an incremental map without introducing an existential type
Collate
Remove the
Map_list
librarySwitch all prior uses of
Map_list
to the more generalIncr_map_erase_key
Make
Incr_map_collate
no longer a functorFold
Add module
Fold
defining a fold callback functionAdd function
collate_and_fold
, likecollate
but allows you to perform a fold over the post-filtered, pre-range-restricted dataAdd function
collate_and_fold__sort_first
, likecollate__sort_first
but allows you to perform a fold over the post-filtered, pre-range-restricted data