Skip to content

beam_lib:strip undocumented compression #11515

Description

@jgonet

Describe the bug
beam_lib:strip additionally compresses the stripped module, which isn't documented. This was previously noticed in #8967 (comment) and independently in Popcorn.

Stripped = compress(Stripped0),

To Reproduce

Expected behavior
Either it should be documented or strip function(s) shouldn't compress.

Affected versions
master (5cf5f97)

Additional context
In Popcorn, we transform the standard library apps (stripping, patching) and then create compressed tarballs. Uncompressing .beam's after stripping saved us a lot – stdlib-7.2 tarball is 2,15 MB double-compressed (gzipped beams, brotli .tar) and 1,86 MB compressed using only brotli on .tar (delta: -265 KB).

Metadata

Metadata

Assignees

Labels

bugIssue is reported as a bugteam:VMAssigned to OTP team VM

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions