AyCode.Core/AyCode.Services
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
..
Loggers Implement SignalRLoggerClient 2025-09-02 11:48:05 +02:00
Logins ForgotPassword 2024-08-02 17:58:19 +02:00
SignalRs Optimize JSON/Brotli serialization for zero-allocation 2025-12-13 23:23:16 +01:00
AyCode.Services.csproj microsoft packages update 2025-12-01 16:18:36 +01:00