package incr_map
Helpers for incremental operations on map like data structures
Install
Dune Dependency
Authors
Maintainers
Sources
v0.17.0.tar.gz
sha256=91acc784e4760af8544c4504bee1a9f6d7385eb0620f8e56392cd193a250b7d2
doc/CHANGES.html
Release v0.17.0
New functions introduced:
Incr_map.merge_disjoint
merges two maps with disjoint keysIncr_map.observe_changes_exn
observes changes in a map across stabilizations
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)"
>
On This Page