Files
releases/v1/util
Anders Eknert 7934d47f64 perf: Lazy init of scalars map in indexer (#8936)
Creating the scalars map for each node was expensive, and would in many
cases sit unused. Now we initialize it only before use, which shaves off
almost a million allocations from `regal lint bundle`, and I imagine is
quite a boost for evaluation of many other policy types.

Also:
- Add benchmarks for the indexer that I used to try things out
- Avoid a few heap allocations by avoiding interface boxing to Value

Signed-off-by: Anders Eknert <anders.eknert@apple.com>
Co-authored-by: Stephan Renatus <stephan.renatus@gmail.com>
2026-07-24 09:59:39 +00:00
..
2024-12-12 15:09:03 +01:00
2024-12-12 15:09:03 +01:00
2024-12-12 15:09:03 +01:00
2024-12-12 15:09:03 +01:00
2024-12-12 15:09:03 +01:00
2024-12-12 15:09:03 +01:00
2024-12-12 15:09:03 +01:00
2024-12-12 15:09:03 +01:00
2024-12-12 15:09:03 +01:00
2025-01-31 20:24:05 +01:00