enso/tools/performance
Pavel Marek 4076a64f33
NaN can be used as a key in Map (#6301)
`Number.nan` can be used as a key in `Map`. This PR basically implements the support for [JavaScript's Same Value Zero Equality](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Equality_comparisons_and_sameness#same-value-zero_equality) so that `Number.nan` can be used as a key in `Map`.

# Important Notes
- For NaN, it holds that `Meta.is_same_object Number.nan Number.nan`, and `Number.nan != Number.nan` - inspired by JS spec.
- `Meta.is_same_object x y` implies `Any.== x y`, except for `Number.nan`.
2023-04-20 09:25:36 +00:00
..
comparative-benchmark Map Implementation (#1222) 2020-10-20 13:43:04 +02:00
engine-benchmarks NaN can be used as a key in Map (#6301) 2023-04-20 09:25:36 +00:00
README.md Add a markdown style guide (#1022) 2020-07-21 13:59:40 +01:00

Performance Utilities

This subfolder contains utilities dedicated to testing the performance of the Enso language implementation, but that are not part of the benchmark suites for the component libraries of the project.