Skip to content

Investigate performance of caching PValues for literals #105

@chklauser

Description

@chklauser

Int, Real, Bool and String literals all cause a stack allocation when they are encountered in the program: The PValue around them needs to be instantiated. What if, instead, the CIL compiler generates a class that provides "singleton" PValues for all literals in an application?

Is that more performant? Less performant? Is it feasible in an extensible manner?

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions