Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(router): unify cache key and context generation in expressions r…
…outer (#12127) Cache key and context generation are closely related on field present inside configured expressions. It is advantageous to unify the logic for generating them to: 1. Improve cache hit rate, so that only fields referenced inside expressions participates in cache key generation. This is particularly important since we plan on adding more match fields into expressions in the future 2. Improve performance, allows field value to be cached and reused between cache key and context generation 3. Reduced code duplication KAG-3032
- Loading branch information