mirror of
https://github.com/enso-org/enso.git
synced 2024-12-28 14:42:25 +03:00
1e5e2327ab
PR adds a flag to `Text` implementation tracking whether it is in a FCD normal form. Then this information can be used in the `Normalizer.compare` method. | Benchmark name | Old (ms) | With flag (ms) | --- | --- | --- | Unicode very short | 40.29 | 40.04 | Unicode medium | 9.07 | 1.99 | Unicode big - random | 115.39 | 0.35 | Unicode big - early difference | 107.02 | 0.54 | Unicode big - late difference | 749.81 | 94.73 | ASCII very short | 28.13 | 31.13 | ASCII medium | 4.58 | 2.26 | ASCII big - random | 42.68 | 0.26 | ASCII big - early difference | 30.91 | 0.32 | ASCII big - late difference | 66.29 | 42.72 Full benchmark output. [bench_old.txt](https://github.com/enso-org/enso/files/10325202/bench_old.txt) [bench_new.txt](https://github.com/enso-org/enso/files/10325201/bench_new.txt) |
||
---|---|---|
.. | ||
bench | ||
main | ||
test |