package incr_map
Helpers for incremental operations on map like data structures
Install
Dune Dependency
Authors
Maintainers
Sources
incr_map-v0.16.0.tar.gz
sha256=a29d13cbc1759714ef49cc398ccfd5548212d1c0ba497552877548c9ce734d67
doc/CHANGES.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 profiling - Add optional
finalize
argument tounordered_fold
, which can be used to change the order in which fold operations are processed
- Add
Bug fixes
- Fix function
subrange_by_rank
to handle unbounded lower bound correctly - Fix typo in function name
mapi_mn
tomap_min
- Fix function
Erase_key
- Small new library for type-erasing the key from an incremental map without introducing an existential type
Collate
Remove the
Map_list
library- Switch all prior uses of
Map_list
to the more generalIncr_map_erase_key
- Switch all prior uses of
- Make
Incr_map_collate
no longer a functor Fold
- Add module
Fold
defining a fold callback function - Add function
collate_and_fold
, likecollate
but allows you to perform a fold over the post-filtered, pre-range-restricted data - Add function
collate_and_fold__sort_first
, likecollate__sort_first
but allows you to perform a fold over the post-filtered, pre-range-restricted data
- Add module
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>