Skip to content

Improve some Pathname instance variable handling #20232

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 11, 2025

Conversation

MikeMcQuaid
Copy link
Member

Will fix or at least partly address:

/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/os/linux/elf.rb:225: warning: The class Pathname reached 8 shape variations, instance variables accesses will be slower and memory usage increased.
35
It is recommended to define instance variables in a consistent order, for instance by eagerly defining them all in the #initialize method.

@MikeMcQuaid MikeMcQuaid force-pushed the pathname_instance_variables branch from d130352 to 47f5e97 Compare July 10, 2025 16:24
@MikeMcQuaid MikeMcQuaid enabled auto-merge July 10, 2025 16:36
@MikeMcQuaid MikeMcQuaid force-pushed the pathname_instance_variables branch from 47f5e97 to 94bd4e5 Compare July 11, 2025 07:57
Will fix or at least partly address:
```
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/os/linux/elf.rb:225: warning: The class Pathname reached 8 shape variations, instance variables accesses will be slower and memory usage increased.
35
It is recommended to define instance variables in a consistent order, for instance by eagerly defining them all in the #initialize method.
```
@MikeMcQuaid MikeMcQuaid force-pushed the pathname_instance_variables branch from 94bd4e5 to d57efd9 Compare July 11, 2025 08:02
@MikeMcQuaid MikeMcQuaid added this pull request to the merge queue Jul 11, 2025
Merged via the queue into main with commit 3e0b0c1 Jul 11, 2025
36 checks passed
@MikeMcQuaid MikeMcQuaid deleted the pathname_instance_variables branch July 11, 2025 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants