ruby/internal
Aaron Patterson c35fea8509
Specialize String#byteslice(a, b) (#9939)
* Specialize String#byteslice(a, b)

This adds a specialization for String#byteslice when there are two
parameters.

This makes our protobuf parser go from 5.84x slower to 5.33x slower

```
Comparison:
decode upstream (53738 bytes):     7228.5 i/s
decode protobuff (53738 bytes):     1236.8 i/s - 5.84x  slower

Comparison:
decode upstream (53738 bytes):     7024.8 i/s
decode protobuff (53738 bytes):     1318.5 i/s - 5.33x  slower
```

* Update yjit/src/codegen.rs

---------

Co-authored-by: Maxime Chevalier-Boisvert <maximechevalierb@gmail.com>
2024-02-13 16:20:27 +00:00
..
2023-12-19 13:09:36 -08:00
2023-12-07 15:52:35 -05:00
2023-12-07 15:52:35 -05:00
2023-12-07 15:52:35 -05:00
2024-02-01 16:42:09 +09:00
2024-01-24 20:51:50 +09:00
2024-01-11 10:09:53 -05:00
2024-01-30 14:48:59 +09:00
2024-02-12 18:31:48 +01:00
2023-12-07 15:52:35 -05:00
2023-12-07 15:52:35 -05:00
2024-01-05 05:51:25 +09:00
2023-12-07 15:52:35 -05:00
2023-11-24 13:29:04 -05:00