Refactored serialization for performance: - Precompute type metadata (primitive, collection, element info) in TypeMetadataBase - Remove runtime type caches from JsonUtilities - Rewrite primitive/collection checks to use direct logic or metadata - Update scan pass and serialization hot path to use wrappers/metadata - Improve buffer management (halve oversized buffers) - Increase profiler warmup iterations, comment out deserialization in hot path - Clean up code and clarify documentation/comments Reduces runtime overhead and memory usage, streamlines hot path execution. |
||
|---|---|---|
| .. | ||
| AyCode.Core.Serializers.Console.csproj | ||
| Program.cs | ||