Skip to content

Investigate performance of caching PValues for literals #105

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions