8000 shape.h: make RSHAPE static inline by casperisfine · Pull Request #13596 · ruby/ruby · GitHub
[go: up one dir, main page]

Skip to content

shape.h: make RSHAPE static inline #13596

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 4 commits into from
Jun 12, 2025
Merged

Conversation

casperisfine
Copy link
Contributor

Since the shape_tree_ptr is extern it should be possible to fully inline RSHAPE.

Copy link
launchable-app bot commented Jun 12, 2025

Tests Failed

✖️no tests failed ✔️61984 tests passed(3 flakes)

byroot added 2 commits June 12, 2025 15:00
Since the shape_tree_ptr is `extern` it should be possible to
fully inline `RSHAPE`.
byroot added 2 commits June 12, 2025 15:15
It's a useless indirection.
There is no point allocating it during init, it adds
a useless indirection.
@byroot byroot enabled auto-merge (rebase) June 12, 2025 14:38
@byroot byroot merged commit 7c22330 into ruby:master Jun 12, 2025
85 of 87 checks passed
635F
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
0