Set.union vs Set.add vs Set.union in the other order vs Set.add in the other order| Test case name | Result |
|---|---|
| Set.union | |
| Set.add | |
| Set.union in the other order | |
| Set.add in the other order |
| Test name | Executions per second |
|---|---|
| ✓ Set.union in the other order | 620,511 Ops/sec |
| Set.union | 232,701 Ops/sec |
| Set.add in the other order | 165,674 Ops/sec |
| Set.add | 124,082 Ops/sec |