mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-12 19:32:48 -06:00
a60ef72799
**main** ``` BenchmarkLintAllEnabled-10 1 2640715625 ns/op 6385110200 B/op 116296633 allocs/op ``` **pr** ``` BenchmarkLintAllEnabled-10 1 2597179708 ns/op 6183614112 B/op 108421141 allocs/op ``` (I renamed the benchmark, but this is the same as "regal linting itself" used in the past) Another 8 million allocations cut off from `regal lint bundle`, and a whopping 10% improvements to wall clock time! The most significant improvement is the Equal implementation for refs, since that is called all over the place. But there are many other fixes here, and they all contribute something substantial (and fixes that only have had marginal impact have been left out). Signed-off-by: Anders Eknert <anders@styra.com>