Opaque_mapSourceinclude Diffable.S1 with type 'a t := 'a tval erase_key_incrementally :
?data_equal:('data -> 'data -> bool) ->
(('key, 'data, _) Core.Map.t, 'w) Incremental.t ->
get:(key:'key -> data:'data -> 'a) ->
('a t, 'w) Incremental.tWhen Opaque_maps are created incrementally we can be smart about insertion and get good performance around insertion and rebalancing.
empty, of_list, and of_array won't give you nice incrementality like erase_key_incrementally, but they are still fine if the primary goal is using the type itself outside of an incremental context.
But if possible, consider erase_key_incrementally.