diff options
| author | Alan Wu <XrXr@users.noreply.github.com> | 2025-10-17 22:35:28 -0400 |
|---|---|---|
| committer | Alan Wu <XrXr@users.noreply.github.com> | 2025-10-21 16:48:45 -0400 |
| commit | b14fac9440ab87d447824a1c8bce2921b3cea076 (patch) | |
| tree | 135119cad31dce6f3644bf8915a5be7ccaf84b3e /include/ruby/internal/arithmetic | |
| parent | bb7f3d17edd29ee8ab5504866c5047fd73a78e64 (diff) | |
ZJIT: Issue `SendWithoutBlockDirect` to `VM_METHOD_TYPE_BMETHOD`
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%)
Diffstat (limited to 'include/ruby/internal/arithmetic')
0 files changed, 0 insertions, 0 deletions
