ModernUO/Projects/Server/Text
Kamron Batman 87b63b38a5
fix: Eliminates string allocations while writing gump packets (#1017)
* Introduces `RawInterpolatedStringHandler` which is exactly the same as `DefaultInterpolatedStringHandler` except it _unsafely exposes_ it's `ReadOnlySpan<char>` buffer. This is useful for writing the string's data without actually building the string.
* Uses this new string interpolation handler in `SpanWriter` to eliminate intermediate strings built. This is immensely useful in eliminating string allocations in writing Gump packets.
2022-05-10 18:50:23 -07:00
..
HexStringConverter.cs fix: Adds packet logging (#836) 2021-10-31 10:22:22 -07:00
InsensitiveStringHelpers.cs fix(core): Streamlines text encoding (#407) 2021-01-13 18:56:32 -08:00
OrdinalStringHelpers.cs fix(core): Streamlines text encoding (#407) 2021-01-13 18:56:32 -08:00
StringHelpers.cs fix: Updates ArrayPool to STArrayPool for performance. (#968) 2022-03-22 20:07:32 -07:00
TextEncoding.cs fix: Eliminates string allocations while writing gump packets (#1017) 2022-05-10 18:50:23 -07:00