Better benchmarks for intersection
(and better intersectionArraysBy
)
#416
Labels
intersection
(and better intersectionArraysBy
)
#416
Here are the
intersection
benchmarks as of #406:unordered-containers/benchmarks/Benchmarks.hs
Lines 322 to 325 in d24cc1f
unordered-containers/benchmarks/Benchmarks.hs
Lines 84 to 88 in d24cc1f
unordered-containers/benchmarks/Benchmarks.hs
Lines 103 to 107 in d24cc1f
unordered-containers/benchmarks/Benchmarks.hs
Lines 120 to 123 in d24cc1f
I think the maps in these benchmarks have an unusually large overlap – there are relatively few elements that do not lie in the intersection. It would be interesting to have benchmarks where the intersection is relatively smaller.
With such benchmarks it may also turn out that it is faster to iterate only over the intersections of the array nodes in
intersectionArrayBy
, as implemented in oberblastmeister@1ee67ea.The text was updated successfully, but these errors were encountered: