-
Notifications
You must be signed in to change notification settings - Fork 579
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify name constraints internal storage to use a std::variant
Previously name constraints flattened everything to a std::string and then parsed it back to the desired form during matching. This is slow. It also bounced through a std::function for each match, which has a surprisingly high overhead. This commit also removes some sketchy (untested, unused within library, unclear purpose) string constructors for GeneralName and GeneralSubtree. Technically a SemVer break but I'm pretty sure nobody uses these.
- Loading branch information
Showing
2 changed files
with
139 additions
and
136 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