mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-12 19:32:48 -06:00
f16763863e
The merge implementation contained an unnecessary product on source/dest rules that blew up runtime when processing PE results (in one case, there were 150M pairs to check.) This change just refactors the implementation to keep track of virtual document prefixes. Since the set of virtual document prefixes is much smaller than the set of rules, this should be good enough. Signed-off-by: Torin Sandall <torinsandall@gmail.com>