Replies: 1 comment
-
Put (very) simple at the moment it goes like this:
For this you may be interested in #55016 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was just wondering if the ASP.NET team have been heroes yet and are parsing this type of route using Span(s), etc.
So for this example:
Is the internal implementation using string splitting, etc. Or does the internal code ultimately use Span, with Range and the modern Split extension methods that work with spans rather than creating internal strings and arrays?
I was just looking at someone else's benchmark where they were comparing ASP.NET and showing it slower than various other frameworks, and looked at their code. They were manually parsing the type of URI shown above, so I was just wondering if they used a URL like above if the internal ASP.NET implementation would do a fast modern parsing of that data into the floats, or if it would also do a bunch of allocations of strings and arrays while it does the parsing?
Beta Was this translation helpful? Give feedback.
All reactions