Refactored string property deserialization to separate hot (common, no-feature) and cold (feature-engaged) marker handling, improving JIT inlining and cold-start performance. Introduced `TryReadStringProperty` (hot, inlined) and `TryReadStringColdPath` (cold, optimized) methods. Updated method attributes for better JIT control and clarified WASM string-cache dead code. Added `BINARY_BYTECODE_OPTIMIZATION.md` and updated related docs. Removed AutoMapper, updated logging package versions, and adjusted project files and settings accordingly. |
||
|---|---|---|
| .. | ||
| Loggers | ||
| docs | ||
| AyCode.Core.Server.csproj | ||
| README.md | ||
README.md
AyCode.Core.Server
@project { type = "framework" }
Server-side extension of AyCode.Core. Provides server-specific implementations that build on the shared core library.
Documentation
| Document | Topic |
|---|---|
LOGGING/README.md |
GlobalLogger singleton, server-side logging |
Folder Structure
| Folder | Purpose |
|---|---|
Loggers/ |
Server-side global logger singleton |
Key Files
Loggers/
GlobalLogger.cs— Static singleton facade for server-side logging. WrapsAcGlobalLoggerBase(sealed, derives fromAcLoggerBase). Provides static methods (Detail,Debug,Info,Warning,Suggest,Error,Write) with[CallerMemberName]support. Default category:"GLOBAL_LOGGER".
Dependencies
| Dependency | Purpose |
|---|---|
AyCode.Core |
Core library (loggers, enums, serializers) |
MessagePack |
MessagePack serialization |
Newtonsoft.Json |
JSON serialization |
Microsoft.Extensions.Logging.Abstractions |
Logging abstractions |