Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Oct 22, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

BurdetteLamar and others added 14 commits October 21, 2025 16:44
```
  /src/jit.c:19:5: error: ISO C restricts enumerator values to range of 'int' (4294967295 is too large) [-Werror,-Wpedantic]
     19 |     RB_INVALID_SHAPE_ID = INVALID_SHAPE_ID,
        |     ^                     ~~~~~~~~~~~~~~~~
```
The type name bindgen picks for anonymous enums creates desync issues on
the bindgen CI checks.
This helps ZJIT optimize ~300,000 more sends in ruby-bench's lobsters

Top-6 not optimized method types for send_without_block
            Before                           After
       iseq: 713,899 (48.0%)            iseq: 725,668 (62.4%)
  optimized: 359,864 (24.2%)       optimized: 359,940 (31.0%)
    bmethod: 339,040 (22.8%)           alias:  73,541 ( 6.3%)
      alias:  73,392 ( 4.9%)            null:   2,521 ( 0.2%)
       null:   2,521 ( 0.2%)         bmethod:     979 ( 0.1%)
      cfunc:       4 ( 0.0%)           cfunc:       4 ( 0.0%)
* Handled in cruby_methods.rs because there is no basic operation for Fixnum#^.
The st_insert in RCLASS_SET_NAMESPACE_CLASSEXT may overwrite an existing
rb_classext_t, causing it to leak memory. This commit changes it to use
st_update to free the existing one before overwriting it.
@pull pull bot locked and limited conversation to collaborators Oct 22, 2025
@pull pull bot added the ⤵️ pull label Oct 22, 2025
@pull pull bot merged commit f46ebed into turkdevops:master Oct 22, 2025
1 of 2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants