Skip to content

Capture function volatility and implement interpreter cache #32

@beikov

Description

@beikov

To implement an interpreter cache for expressions we need to capture the function volatility. I propose to add the following two categories:

  • VOLATILE - Function return can change at any time
  • IMMUTABLE - Function returns the same result for the same arguments

The cache should be stored in the interpreter or interpreter context and thus does NOT depend on #18 as it should be unbounded. It should be possible to disable the interpreter cache though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions