ModernUO/Projects/Server/Buffers
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
..
CircularBuffer.cs fix: Adds packet logging (#836) 2021-10-31 10:22:22 -07:00
CircularBufferReader.cs fix: Eliminates string allocations while writing gump packets (#1017) 2022-05-10 18:50:23 -07:00
CircularBufferWriter.cs fix(core): Updates to serialization (#590) 2021-05-09 00:10:39 -07:00
PooledArraySpanFormattable.cs fix: Eliminates string allocations while writing gump packets (#1017) 2022-05-10 18:50:23 -07:00
RawInterpolatedStringHandler.cs fix: Eliminates string allocations while writing gump packets (#1017) 2022-05-10 18:50:23 -07:00
SpanReader.cs fix: Eliminates string allocations while writing gump packets (#1017) 2022-05-10 18:50:23 -07:00
SpanWriter.cs fix: Eliminates string allocations while writing gump packets (#1017) 2022-05-10 18:50:23 -07:00
STArrayPool.cs fix: Adds Gen2 callback for each STArrayPool (#971) 2022-03-26 13:57:42 -07:00
ValueStringBuilder.cs feat: Adds cliloc support and fixes valuestringbuilder ctor (#1013) 2022-05-08 21:24:32 -07:00
ValueStringBuilderExtensions.cs feat: Adds cliloc support and fixes valuestringbuilder ctor (#1013) 2022-05-08 21:24:32 -07:00