Repository navigation
Conversation
Rejected alternatives: - preparsing into a Vec: this leaves the issue for no-alloc users. - fusing parsing and rejection by subject of candidate intermediates: improves performance of this area by 2.5x, will be landed separately but is not a complete fix on its own. - extracting intermediates parsing/search behind a trait: will work, and be very flexible, but again leaves the issue for no-alloc users. `test_too_many_path_calls` now covers both limits.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #570 +/- ##
==========================================
- Coverage 97.79% 97.79% -0.01%
==========================================
Files 20 20
Lines 4395 4437 +42
==========================================
+ Hits 4298 4339 +41
- Misses 97 98 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
djc
approved these changes
Nov 26, 2026
| Self::from_input(cert_der, UnknownExtensionPolicy::default()) | ||
| } | ||
|
|
||
| pub(crate) fn from_der_for_subject( |
Member
There was a problem hiding this comment.
Nit: should be before from_der().
I think lints would warn at this commit about the unused method?
Maybe just squash this into the next commit?
Member
|
But also, how much performance could we claw back for handshakes in processes that do have |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fixes #540
Rejected alternatives:
preparsing into a Vec: this leaves the issue for no-alloc users.
fusing parsing and rejection by subject of candidate intermediates:
improves performance of this area by 2.5x, done in this PR
but is not a complete fix on its own.
extracting intermediates parsing/search behind a trait: will work, and
be very flexible, but again leaves the issue for no-alloc users.