Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slow compile times #59

Open
HildarTheDorf opened this issue Mar 17, 2020 · 3 comments
Open

Slow compile times #59

HildarTheDorf opened this issue Mar 17, 2020 · 3 comments

Comments

@HildarTheDorf
Copy link

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)?

@FacticiusVir
Copy link
Owner

Interesting; I hadn't seen that but I'll certainly investigate. What OS, IDE & framework version are you using?

@HildarTheDorf
Copy link
Author

This is with Ubuntu 19.10/VS Code(Microsoft C# extension)/Dotnet Core 3.1.101

@FacticiusVir
Copy link
Owner

Thanks; I'll run some tests and see if I can replicate the compile issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants