Skip to content

cmd/compile: CL 36170 caused some .a archives to grow #18895

@mdempsky

Description

@mdempsky

CL 36170 changed the exporter code's logic for identifying which objects need to be reexported. Most packages shrunk a little from this (0.08% geometric mean reduction), but a couple packages grew. Most notably, compress/zlib.a grew by 200 bytes.

The growth shouldn't be problematic, but it's somewhat unexpected. Seems worth double checking the cause.

I'm guessing it just caused objects to be exported in a different order, and some commonly referenced object ended up with a longer varint-encoded ID.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions