Skip to content

[Enhancement] Add source generator for reflection-based lists #358

@mnadareski

Description

@mnadareski

Instead of relying on reflection to build things like the lists of types that can be used for each method, a source generator should be implemented that will generate those lists statically at build.

This should be explored because the overhead of reflection is fairly substantial compared to hardcoded lists. Maintaining those hardcoded lists can take a lot of effort and can drift from implementations more easily. The other downside to reflection is that it is not AOT-compatible. This means that native libraries cannot be compiled in any of those cases.

This may necessitate changes even further down the chain, so this item may be a parent item for other changes later.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions