-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
api-suggestionEarly API idea and discussion, it is NOT ready for implementationEarly API idea and discussion, it is NOT ready for implementationarea-System.Nettenet-performancePerformance related issuePerformance related issue
Milestone
Description
As the SocketsHttpHandler gets faster, many of my hot paths are now in System.Uri class.
There is a lot of parsing in any case of paths and/or QueryString parameters that varies on each request. System.Uri will always validate the entire string, not to mention that a string must be allocated each time. Would be nice to have an alternative, be forsake System.Uri for a new type in HttpRequestMessage, or provide "unsafe" apis for System.Uri, so it would not validate every part.
Metadata
Metadata
Assignees
Labels
api-suggestionEarly API idea and discussion, it is NOT ready for implementationEarly API idea and discussion, it is NOT ready for implementationarea-System.Nettenet-performancePerformance related issuePerformance related issue