icyleaf/fast-crystal

Skewed results in hash

Closed this issue · 0 comments

In the hash [] vs fetch you include NamedTuple which skews the results because hash will always be slower
https://github.com/icyleaf/fast-crystal/blob/master/code/hash/bracket-vs-fetch.cr

However, you already have a separate one for NamedTuple

https://github.com/icyleaf/fast-crystal/blob/master/code/namedtuple/bracket-vs-fetch.cr

Maybe just remove the NamedTuple check under hash and have the benchmark re-ran?