Skip to content

Chunk cache #345

Description

@giann

Chunks (and so constants), should be serializable. We could then keep a cache of it so that several execution of the same script doesn't trigger a full parsing/codegen each time.

Deserializing should be trivial otherwise we lose any advantage over actually parsing the script.

Maybe do something akin to what Richard Feldman was talking about here: https://youtu.be/w74rC-6caxE?si=SbimULSMDWSM-_FX
Reducing to a minimum the use of pointers and use indices to collocated memory.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    performanceImproves performancesvmIssue related to the VM

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions