Core aycode behaviour, business logic or general models
Go to file
Loretta 466782007d Refactor string interning to use position-based cache
Implement a new position-based string interning mechanism in AcBinarySerializer/AcBinaryDeserializer. This approach tracks stream positions for interned strings, ensuring 100% reliable cache matching during deserialization, even when strings are skipped or reordered. The serializer now writes (position, cacheIndex) pairs in the footer for all repeated strings, and the deserializer uses this mapping for robust cache population. Removes the old buffer-based interned string logic, updates all relevant code paths, and simplifies interned string handling for greater correctness and maintainability. Also updates benchmarks and test data construction to use the new interning mode.
2026-01-27 13:02:16 +01:00
.claude Refactor Toon serializer: modularize metadata & relations 2026-01-14 15:39:03 +01:00
AyCode.Benchmark Refactor string interning to use enum and attribute 2026-01-26 11:04:25 +01:00
AyCode.Core Refactor string interning to use position-based cache 2026-01-27 13:02:16 +01:00
AyCode.Core.Serializers.Console Refactor string interning to use position-based cache 2026-01-27 13:02:16 +01:00
AyCode.Core.Serializers.SourceGenerator Add AcBinary Source Generator for fast serialization 2026-01-06 08:58:34 +01:00
AyCode.Core.Server Integrate AcLogger with Microsoft.Extensions.Logging 2026-01-09 11:12:35 +01:00
AyCode.Core.Tests Refactor string interning to use position-based cache 2026-01-27 13:02:16 +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 Refactor serializer options, string fast paths & analysis 2026-01-25 16:40:40 +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
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