forked from netty/netty
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Load Conscrypt method via reflection only once
Motivation: The code did reflection every method call which made the code slower and harder to read with additional cases to consider. Modifications: Instead of loading the method and then throwing it away, save the Method reference instead of the Class reference. Then also use more precise exception handling for the method invocation. Result: Simpler, speedier code.
- Loading branch information
1 parent
6cd5e8b
commit 8b27398
Showing
1 changed file
with
20 additions
and
24 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