AyCode.Core/AyCode.Services.Server
Loretta 489ef7486c Optimize JSON/Brotli serialization for zero-allocation
Major performance improvements for SignalR message transport:
- BrotliHelper now uses ArrayPool and stackalloc for zero-allocation compression/decompression; added span/IBufferWriter overloads and pooled buffer support.
- AcJsonDeserializer supports direct deserialization from UTF-8 spans, with fast path for no reference handling.
- SignalResponseDataMessage uses pooled buffers for Brotli decompression and zero-copy deserialization; implements IDisposable for buffer return.
- IdMessage serialization optimized for primitives and Guids to avoid unnecessary allocations.
- Added JsonTo<T> span/byte[] extension methods for zero-allocation deserialization.
- All changes are backward compatible and reduce GC pressure for high-throughput scenarios.
2025-12-13 23:23:16 +01:00
..
Emails Add Logger 2024-05-14 13:04:01 +02:00
Logins ... 2024-10-29 10:52:35 +01:00
SignalRs Optimize JSON/Brotli serialization for zero-allocation 2025-12-13 23:23:16 +01:00
AyCode.Services.Server.csproj Enhance JSON handling and add hybrid reference support 2025-12-08 15:50:48 +01:00