Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Convert LOAD_ATTR_MODULE to a constant where the module is already a constant #115651

Copy link
Copy link
Closed
@markshannon

Description

@markshannon
Issue body actions

Expressions like mod.attr, where mod is a module, are in almost all cases effectively constants.

We should optimize them as such.
We already treat the mod as a constant, so it is a relatively simple step to treat mod.attr as a constant.

Linked PRs

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.