You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the filter for AS path is implemented as a String, and it needs to create a regular expression struct on every single path to do the matching, which is very much inefficient. We should refactor the internal storage of AS path filter to be constructed regular expression structs, and use re object to match on AS paths.
Besides, the matching also done based on AS path strings, which needs to be contrstuctred on every path, potentially very expensive as well. But I am unsure if there is a better way to do this.
The text was updated successfully, but these errors were encountered:
Currently, the filter for AS path is implemented as a String, and it needs to create a regular expression struct on every single path to do the matching, which is very much inefficient. We should refactor the internal storage of AS path filter to be constructed regular expression structs, and use re object to match on AS paths.
Besides, the matching also done based on AS path strings, which needs to be contrstuctred on every path, potentially very expensive as well. But I am unsure if there is a better way to do this.
The text was updated successfully, but these errors were encountered: