Skip to content

Merging snapshots to save space #1779

Closed
@zherczeg

Description

@zherczeg

Currently each snapshot has its own string table, and in projects like IoT.js many files have references to the same strings (usually function names). These strings are duplicated for each snapshot file, and the binary size could be reduced by sharing the string table. A multi entry point snapshot file could be a solution for this problem. We need a utility for merging snapshots, and relative offsets would allow merging many files without reaching the maximum snapshot size.

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionOngoing discussionsnapshotRelated to the snapshot feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions