Core aycode behaviour, business logic or general models
Go to file
Loretta e50dca93fa Refactor deserializer marker handling; add UseGeneratedCode opt
Refactored AcBinaryDeserializer to read the type code marker byte only once per property, eliminating redundant PeekByte/ReadByte calls and improving efficiency. Updated all property population branches to use the already-consumed type code. Adjusted handling of nested complex objects to rewind the marker byte when needed. Modified TryReadAndSetTypedValue to assume the marker is already consumed, removing unnecessary reads. Exception messages now report the actual type code read.

Added UseGeneratedCode option (default true) to AcBinarySerializerOptions and exposed it in the serialization context. The generated code fast path is now gated by this option, allowing users to enable or disable source-generated serialization. These changes improve deserialization performance, code clarity, and configurability.
2026-02-15 09:50:16 +01:00
.claude Refactor: move buffer/position to context for zero dispatch 2026-02-11 13:02:24 +01:00
AyCode.Benchmark Add JIT disassembly benchmark and improve string interning 2026-02-14 19:53:23 +01:00
AyCode.Core Refactor deserializer marker handling; add UseGeneratedCode opt 2026-02-15 09:50:16 +01:00
AyCode.Core.Serializers.Console Add JIT disassembly benchmark and improve string interning 2026-02-14 19:53:23 +01:00
AyCode.Core.Serializers.SourceGenerator Generate IGeneratedBinaryWriter for fast serialization 2026-02-14 20:50:38 +01:00
AyCode.Core.Server Integrate AcLogger with Microsoft.Extensions.Logging 2026-01-09 11:12:35 +01:00
AyCode.Core.Tests Generate IGeneratedBinaryWriter for fast serialization 2026-02-14 20:50:38 +01:00
AyCode.Core.Tests.Internal Enhance JSON handling and add hybrid reference support 2025-12-08 15:50:48 +01:00
AyCode.Database Enhance JSON handling and add hybrid reference support 2025-12-08 15:50:48 +01:00
AyCode.Database.Tests microsoft packages update 2025-12-01 16:18:36 +01:00
AyCode.Database.Tests.Internal Refactor JSON/SignalR infra; add full test & benchmark suite 2025-12-11 21:25:50 +01:00
AyCode.Entities AcModelDtoExtension improvements 2025-09-12 13:36:11 +02:00
AyCode.Entities.Server Add .targets file 2025-08-31 13:07:34 +02:00
AyCode.Interfaces improvements, fixes 2025-11-26 09:42:00 +01:00
AyCode.Interfaces.Server Add .targets file 2025-08-31 13:07:34 +02:00
AyCode.Models Add .targets file 2025-08-31 13:07:34 +02:00
AyCode.Models.Server Refactor SignalR dynamic method lookup with static registry 2026-01-02 15:51:50 +01:00
AyCode.Services Add high-performance binary output abstraction 2026-02-10 07:12:11 +01:00
AyCode.Services.Server Refactor serializer options, string fast paths & analysis 2026-01-25 16:40:40 +01:00
AyCode.Services.Server.Tests Refactor serializer options, string fast paths & analysis 2026-01-25 16:40:40 +01:00
AyCode.Services.Tests Refactor: Add high-perf JSON serializer & merge support 2025-12-14 19:34:49 +01:00
AyCode.Utils microsoft packages update 2025-12-01 16:18:36 +01:00
AyCode.Utils.Server Add .targets file 2025-08-31 13:07:34 +02:00
.gitattributes first commit 2023-11-08 09:35:34 +01:00
.gitignore Add /reports to .gitignore 2026-01-06 08:58:03 +01:00
.plan Refactor: move buffer/position to context for zero dispatch 2026-02-11 13:02:24 +01:00
AllBenchmarksDropdown.html Refactor serializer tests, fix deserializer bugs, add Gzip 2025-12-19 19:29:12 +01:00
AyCode.Core.sln Refactor property metadata; add console perf profiler 2026-01-21 16:47:40 +01:00
AyCode.Core.targets CollectionExtensions UpdateCollectionById<TId> 2025-11-07 14:10:30 +01:00
Directory.Build.props Centralize test/benchmark results; optimize deserializer 2025-12-13 09:59:18 +01:00
MergeBenchmarksHtmlDropdown.bat Refactor serializer tests, fix deserializer bugs, add Gzip 2025-12-19 19:29:12 +01:00
MergeBenchmarksHtmlDropdown.ps1 Refactor serializer tests, fix deserializer bugs, add Gzip 2025-12-19 19:29:12 +01:00
RunFullBenchmark.bat Refactor serializer tests, fix deserializer bugs, add Gzip 2025-12-19 19:29:12 +01:00
RunQuickBenchmark.bat Expand QuickBenchmark suite & add CLI scripts 2025-12-15 12:00:03 +01:00
RunQuickBenchmark.ps1 Expand QuickBenchmark suite & add CLI scripts 2025-12-15 12:00:03 +01:00
TestChainApi.cs Add expression serialization & chain API for JSON deserialization 2025-12-29 15:28:46 +01:00
ToonExtendedInfo.txt Add Toon serializer: LLM-optimized format & rich metadata 2026-01-10 20:13:54 +01:00
test.runsettings Centralize test/benchmark results; optimize deserializer 2025-12-13 09:59:18 +01:00