We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d516927 commit 6d61346Copy full SHA for 6d61346
containers-tests/benchmarks/Set.hs
@@ -45,6 +45,8 @@ main = do
45
, bench "alterF:four:strings" $ whnf (alterF_four strings) strings_s
46
, bench "alterF_naive:four" $ whnf (alterF_naive_four elems) s
47
, bench "alterF_naive:four:strings" $ whnf (alterF_naive_four strings) strings_s
48
+ , bench "powerSet" $ whnf S.powerSet (S.fromList[1..20])
49
+ , bench "member.powerSet" $ whnf (\ s -> all (flip S.member s) s) (S.powerSet (S.fromList [1..20]))
50
]
51
where
52
elems = [1..2^12]
0 commit comments