Benchmark to compare the performance difference between case when checking an enum value, as compared to case when checking a string. This is a benchmark script using https://crystal-lang.org/
- crystal benchmark.cr --release
Feel free to contribute to make the benchmark better! All PRs are welcome.
Thanks for reading, and have a wonderful day!