Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bench: Avoid allocating an extra hash when not necessary (#949)
`JSON.parse(@JSON, symbolize_names: @Symbolize)` allocates an extra hash, which isn't necessary when `symbolize` is `false`. In the grand scheme of things, it's not a big deal, but on this sort of micro-benchmarks that can easily accound for a huge part of the runtime just because of the increased GC pressure.
- Loading branch information