Skip to content

optional gzip compression on save files #436

Description

@tueda

It is beneficial to have an option in the Save statement in such a way that FORM can gzip-compress expressions in save files. See also the discussion at #433.

A possible way for the syntax is:

Save gzip savefile;
Save gzip savefile expressions...;

Here gzip is a contextual keyword. The disadvantage of this syntax is that the user cannot specify gzip as the save filename (but normally nobody would want to do that).

If the save file format has room to record whether expressions in the file are gzip-compressed or not (or with other compression formats), then the syntax of the Load statement does not need to be changed; the user can just use Load as in the past and it transparently loads expressions if compressed.

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