Skip to content

Slow compile times #59

@HildarTheDorf

Description

@HildarTheDorf

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions