You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you never copied from raw bytes to string objects, it would probably be even faster. I'm actually really surprised the standard .NET API's for XML return strings, rather than just pointing at bytes in the buffer. It would be unsafe, but it's really important for high-performance apps.
The text was updated successfully, but these errors were encountered:
@AntonC9018 agreed, minimizing time spent in GC can increase the performance. As you said .NET framework does not support Span<T> based API for XmlReader.
If you never copied from raw bytes to string objects, it would probably be even faster. I'm actually really surprised the standard .NET API's for XML return strings, rather than just pointing at bytes in the buffer. It would be unsafe, but it's really important for high-performance apps.
The text was updated successfully, but these errors were encountered: