|
100
|
|
80
|
|
40
|
|
********************************************************************************
|
|
Set_Set
|
|
********************************************************************************
|
|
Warming up --------------------------------------
|
|
old 5.793k i/100ms
|
|
fast 5.806k i/100ms
|
|
fastest 6.596k i/100ms
|
|
Calculating -------------------------------------
|
|
old 51.565k (± 2.3%) i/s - 260.685k in 5.058297s
|
|
fast 59.710k (± 1.5%) i/s - 301.912k in 5.057448s
|
|
fastest 67.549k (± 1.9%) i/s - 342.992k in 5.079599s
|
|
|
|
Comparison:
|
|
fastest: 67549.3 i/s
|
|
fast: 59710.3 i/s - 1.13x slower
|
|
old: 51564.5 i/s - 1.31x slower
|
|
|
|
********************************************************************************
|
|
Set_SortedSet
|
|
********************************************************************************
|
|
Warming up --------------------------------------
|
|
old 5.172k i/100ms
|
|
fast 5.901k i/100ms
|
|
fastest 6.503k i/100ms
|
|
Calculating -------------------------------------
|
|
old 52.435k (± 2.2%) i/s - 263.772k in 5.032915s
|
|
fast 60.987k (± 2.4%) i/s - 306.852k in 5.034553s
|
|
fastest 67.295k (± 1.7%) i/s - 338.156k in 5.026575s
|
|
|
|
Comparison:
|
|
fastest: 67294.5 i/s
|
|
fast: 60986.7 i/s - 1.10x slower
|
|
old: 52435.1 i/s - 1.28x slower
|
|
|
|
********************************************************************************
|
|
SortedSet_Set
|
|
********************************************************************************
|
|
Warming up --------------------------------------
|
|
old 4.041k i/100ms
|
|
fast 4.531k i/100ms
|
|
fastest 5.036k i/100ms
|
|
Calculating -------------------------------------
|
|
old 40.886k (± 1.5%) i/s - 206.091k in 5.041866s
|
|
fast 45.896k (± 1.9%) i/s - 231.081k in 5.036871s
|
|
fastest 51.940k (± 1.1%) i/s - 261.872k in 5.042527s
|
|
|
|
Comparison:
|
|
fastest: 51939.6 i/s
|
|
fast: 45895.5 i/s - 1.13x slower
|
|
old: 40885.9 i/s - 1.27x slower
|
|
|
|
********************************************************************************
|
|
SortedSet_SortedSet
|
|
********************************************************************************
|
|
Warming up --------------------------------------
|
|
old 4.043k i/100ms
|
|
fast 4.570k i/100ms
|
|
fastest 5.017k i/100ms
|
|
Calculating -------------------------------------
|
|
old 40.912k (± 2.0%) i/s - 206.193k in 5.042045s
|
|
fast 46.895k (± 2.3%) i/s - 237.640k in 5.070283s
|
|
fastest 51.906k (± 1.6%) i/s - 260.884k in 5.027357s
|
|
|
|
Comparison:
|
|
fastest: 51906.4 i/s
|
|
fast: 46895.3 i/s - 1.11x slower
|
|
old: 40911.7 i/s - 1.27x slower
|
|
|
|
********************************************************************************
|
|
Set_Array
|
|
********************************************************************************
|
|
Warming up --------------------------------------
|
|
old 5.450k i/100ms
|
|
fastest 5.387k i/100ms
|
|
Calculating -------------------------------------
|
|
old 55.182k (± 2.6%) i/s - 277.950k in 5.040630s
|
|
fastest 55.605k (± 0.7%) i/s - 280.124k in 5.037947s
|
|
|
|
Comparison:
|
|
fastest: 55605.2 i/s
|
|
old: 55182.3 i/s - same-ish: difference falls within error
|
|
|