
16 Aug
2021
16 Aug
'21
2:28 p.m.
Am Mo., 16. Aug. 2021 um 17:06 Uhr schrieb Jan-Willem Maessen
Reading the issue and the benchmarks, it seems like the right call here might be to make the "throws error" version the one that defers the failure check, and to use a similar algorithm for update (which must search to the leaf in any case).
update can terminate fast too. See the nomatch case in updateWithKey: https://hackage.haskell.org/package/containers-0.6.5.1/docs/src/Data.IntMap....