General

Profile

byroot (Jean Boussier)

Issues

open closed Total
Assigned issues 2 30 32
Reported issues 28 149 177

Projects

Project Roles Registered on
Ruby Committer 09/27/2021

Activity

Today

07:37 AM Ruby Revision 4d646392 (git): string.c: Fix UB in tr_trans_pairs_next_match_neon
byroot (Jean Boussier)
06:37 AM Ruby Revision aa7bc48b (git): [ruby/erb] escape.c: Fix UB in find_next_match_neon
(https://github.com/ruby/erb/pull/142)
Shifting by 64 or more bits is undefined behavior.
https://github.com/ruby/erb/commit/a9316104fc
byroot (Jean Boussier)

09/09/2026

11:10 AM Ruby Bug #22299 (Closed): opt_new emits a duplicate :line trace point for Const.new following a branch
Applied in changeset commit:git|9a2b620825060d80c1bbcd42ce360d39af6ef02b.
----------
Fix the peephole optimizer to avoid duplicated line events
[Bug #22299]
Followup: https://github.com/ruby/ruby/pull/18538
byroot (Jean Boussier)
11:09 AM Ruby Revision 9a2b6208 (git): Fix the peephole optimizer to avoid duplicated line events
[Bug #22299]
Followup: https://github.com/ruby/ruby/pull/18538
byroot (Jean Boussier)
10:47 AM Ruby Revision 1d9a7294 (git): string.c: Fix String#tr
`tr_trans_pairs_next_match` was expected to return the replacement
string not a boolean.
Co-Authored-By: Federico Carrocera <fedecarrocera@gmail.com>
byroot (Jean Boussier)
10:47 AM Ruby Revision c0d6ffc7 (git): string.c: Eliminate dead branch in `tr_trans_pairs_next_match_*`
byroot (Jean Boussier)
08:23 AM Ruby Revision fccc3b9e (git): [ruby/erb] Add a CI matrix entry to cover the no-SIMD paths
(https://github.com/ruby/erb/pull/140)
Would have caught https://github.com/ruby/erb/commit/994c2f7d083b
https://github.com/ruby/erb/commit/e3f0201272
byroot (Jean Boussier)
07:56 AM Ruby Revision 095390c5 (git): [ruby/erb] Fix `find_next` definition when SIMD is unavailable
https://github.com/ruby/erb/commit/994c2f7d08 byroot (Jean Boussier)
06:48 AM Ruby Revision 1bb0450e (git): [ruby/erb] Optimize escaping with memcpy of literals
(https://github.com/ruby/erb/pull/137)
`memcpy(dest, html_escape_table[c].str, len);` will hardly be able to be
inlined as the compiler has no idea how large `len` may be.
By turning it into constants, we allow the compiler to realize ...
byroot (Jean Boussier)
06:25 AM Ruby Revision b02556a2 (git): [ruby/erb] Speedup `ERB::Util.html_escape` with SIMD
(https://github.com/ruby/erb/pull/136)
* Speedup ERB::Util.html_escape with SIMD
The code is lifted from similar work in the `json` gem.
SIMD use is limited to NEON and SSE2 as they can easily be
detected and assumed at compile time.
...
byroot (Jean Boussier)

Also available in: Atom