Handbook
Glossary
bench-sets ( seq -- )
Vocabulary
benchmark
.
hash-sets
Inputs
seq
an
object
Outputs
None
Definition
USING:
combinators
math.combinatorics
sequences
sets
;
IN:
benchmark.hash-sets
:
bench-sets
( seq -- )
2
[
first2
{
[
3
[
union
]
do-times
]
[
5
[
intersect
]
do-times
]
[
100000
[
intersects?
]
do-times
]
[
3
[
diff
]
do-times
]
[
50
[
set=
]
do-times
]
[
25
[
subset?
]
do-times
]
}
2cleave
]
each-combination
;