Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Search Route Policies: Remove redundant atomic predicate computation (#…
…6284) * Build the symbolic Graph, which computes atomic predicates for the community and AS-path regexes in a configuration, once per node rather than once per node per route policy. Since computing atomic predicates is potentially expensive, this may provide a useful performance improvement in some cases. * Declare almost all of the Graph's internal state 'final', to document its read-only nature, which allows it to be safely reused.
- Loading branch information
Showing
2 changed files
with
64 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters