Refactor serialization context to use precomputed boolean flags (HasRefHandling, HasAllRefHandling, HasStringInterning) for faster reference and string interning checks, replacing repeated enum comparisons. Update source generator to emit code using these flags. Add AcBinarySerializer.ScanOnly for isolated scan benchmarking. Set MaxDepth in test options. Improves performance and maintainability. |
||
|---|---|---|
| .. | ||
| AcBinarySourceGenerator.cs | ||
| AyCode.Core.Serializers.SourceGenerator.csproj | ||