Skip to content

Chunk cache #345

@giann

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.

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