Skip to content

Prevent code size explosion due to blindly inlining methods marked @inline #2

Closed
@retronym

Description

@retronym

Currently, every method marked @inline is inlined, which can lead to exponential code growth.

We should probably have two kinds of threshold: one for the maximum method size, one for the maximum method growth.

Discussion and further references here: scala/scala#4041 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions