Skip to content

Avoid allocation in PathString.Add - #28855

Merged
pranavkm merged 1 commit into
masterfrom
prkrishn/path-string
Dec 28, 2020
Merged

Avoid allocation in PathString.Add#28855
pranavkm merged 1 commit into
masterfrom
prkrishn/path-string

Conversation

@pranavkm

Copy link
Copy Markdown
Contributor

Also some other refactorings based on IDE's recommendations

Also some other refactorings based on IDE's recommendations

```
|    Method |     Mean |    Error |   StdDev | Ratio |
|---------- |---------:|---------:|---------:|------:|
|  Baseline | 18.56 ns | 0.099 ns | 0.088 ns |  1.00 |
|    Create | 12.70 ns | 0.174 ns | 0.154 ns |  0.68 |
```
@ghost ghost added the area-servers label Dec 25, 2020

@mkArtakMSFT mkArtakMSFT left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thanks @pranavkm!

@pranavkm
pranavkm merged commit e04dee0 into master Dec 28, 2020
@pranavkm
pranavkm deleted the prkrishn/path-string branch December 28, 2020 19:51
@pranavkm pranavkm added this to the 6.0-preview1 milestone Dec 28, 2020
@amcasey amcasey added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions

4 participants