SharpVk
SharpVk copied to clipboard
Slow compile times
I'm experiencing slow compile times when using SharpVk (v0.4.2). The compiler appears to consuming copious amounts of RAM such that it spills swap/pagefile on Hello Triangle, which I don't normally experience with considerably larger solutions.
My assumption is that the compiler is struggling to handle the sheer number of optional parameters most SharpVk methods take. Would it be possible for the generator to emit overloads with less parameters for the more common use cases (e.g. for each method have an overload with no, or core-only, pNext structures and another with all the sundry extension structs)?
Interesting; I hadn't seen that but I'll certainly investigate. What OS, IDE & framework version are you using?
This is with Ubuntu 19.10/VS Code(Microsoft C# extension)/Dotnet Core 3.1.101
Thanks; I'll run some tests and see if I can replicate the compile issues