Pack DXC as libs instead of resources to avoid IO from generator #348
Labels
enhancement ✨
An improvement to existing APIs
optimization 🚀
Performance improvement to existing APIs
Description
The ComputeSharp generator is currently bundling the DXC libs as embedded resources, then unpacking them to a temporary folder and loading them from there. This adds extra complexity and most importantly means the generator has to do IO, which should instead be avoided. The generator should be updated so that the DXC libs are packed as dependencies for the generator assembly and copied to the same output folder, so they can be loaded directly from there (which is fine), without having to do that extra step with IO first (which also means it'll be a bit faster to load as well).
See dotnet/roslyn#63290 and dotnet/roslyn#54899
The text was updated successfully, but these errors were encountered: