databricks / sjsonnet

Apache License 2.0
267 stars 55 forks source link

Deduplicate strings in the parser #137

Closed szeiger closed 3 years ago

szeiger commented 3 years ago

This leads to slower results in ParseBenchmark (~ 5%) but with parsing taking only 10% of the total time in the main benchmark, the potential for performance regressions is severely limited. We see an improvement of overall benchmark times, both single-threaded and multi-threaded with a shared parse cache, in the main benchmark.