-
-
Notifications
You must be signed in to change notification settings - Fork 146
Closed
Labels
optimization 🚀Performance improvement to existing APIsPerformance improvement to existing APIs
Description
Description
The typeof(T).GUID calls in ComputeSharp.D2D1 are adding about 300 KB of binary size to a minimal NativeAOT sample.
ComputeSharp/src/TerraFX.Interop.Windows.D2D1/Windows/shared/uuids/Windows.Manual.cs
Line 83 in b7abe81
| *p = typeof(T).GUID; |
ComputeSharp/src/ComputeSharp.D2D1/Shaders/Interop/Effects/PixelShaderEffect.For{T}.cs
Line 168 in b7abe81
| Guid shaderId = typeof(T).GUID; |
Metadata
Metadata
Assignees
Labels
optimization 🚀Performance improvement to existing APIsPerformance improvement to existing APIs
