Skip to content

Convenience/optimization idea: Analyze the call-sides of the create functions and gather which type parameters are used. Create create functions accordingly #34

@Yeah69

Description

@Yeah69
  • For example, if there is only one call Create<int, string>(), then instead of having the inner functions all generic they can just be like the ordinary functions for closed types. The entry function can then switch the known type parameter combinations.
  • Keep in mind that the call side can still inject open type parameters. Hence, we can't drop generic create functions, even if we do this optimization/convenience feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions