General

Profile

byroot (Jean Boussier)

Issues

open closed Total
Assigned issues 1 34 35
Reported issues 24 159 183

Projects

Project Roles Registered on
Ruby Committer 09/27/2021

Activity

Today

10:14 AM Ruby Revision ad179ab0 (git): [ruby/zlib] Alias Zlib.deflate as Zlib.dump and Zlib.inflate as Zlib.load
`load` and `dump` are a very popular naming convention for
serializer and such, and defining them allows easy composition.
https://github.com/ruby/zlib/commit/e78fa49e7f
byroot (Jean Boussier)
07:37 AM Ruby Revision 27fed622 (git): shape.c: store edge name as `rb_id_serial_t`
Just like `id_table` does, this reduce the edge name down to a
32-bit value allowing `rb_shape_t` to shrink from 32B to 24B.
The downside is that converting a serial back into an ID costs
a lookup, but we rarely do this.
byroot (Jean Boussier)
07:37 AM Ruby Revision e7aa24d0 (git): Shrink redblack_node_t from 24B to 16B
By storing shape_id_t instead of `rb_shape_t *` we save a full word. byroot (Jean Boussier)
07:37 AM Ruby Revision e2435664 (git): variable.c: avoid calling RSHAPE_EDGE_NAME in rb_obj_field_get
It's only used for assertions and used to be a simple pointer
dereference, but now it's a somewhat expensive call to `rb_id_serial_to_id`.
byroot (Jean Boussier)

11/25/2026

06:57 PM Ruby Revision 63c8706c (git): re.c: reset offsets cache when re-using match data
[Bug #22638]
Reported-By: ProofHunt (https://hackerone.com/proofhunt)
byroot (Jean Boussier)
02:01 PM Ruby Bug #22638 (Closed): Out-of-bounds read via stale MatchData char-offset cache
Applied in changeset commit:git|9d4d6c3c14b472e4f0a986f7e6ff9b2ff44e81b3.
----------
re.c: reset offsets cache when re-using match data
[Bug #22638]
Reported-By: ProofHunt (https://hackerone.com/proofhunt)
byroot (Jean Boussier)
01:06 PM Ruby Bug #22638 (Closed): Out-of-bounds read via stale MatchData char-offset cache
```ruby
input = "abcdefgh"
big = /(.)(.)(.)(.)(.)(.)(.)(.)/
small = /(.)/
big =~ input
input.split(small, 2) { |s| Regexp.last_match.offset(1) if s.length == 1 }
m = big.match(input)
p (0..8).map { |i| m.offset(i) }
```
Expe...
byroot (Jean Boussier)
02:01 PM Ruby Revision 9d4d6c3c (git): re.c: reset offsets cache when re-using match data
[Bug #22638]
Reported-By: ProofHunt (https://hackerone.com/proofhunt)
byroot (Jean Boussier)
08:31 AM Ruby Feature #22630: GC improvements
No opinion on either patch, but:
> to reduce GC time/cost. It seems to be one of the biggest things we hit in our app.
I assume you're not using `GC.config(rgengc_allow_full_mark: false)` ? Any reason why?
byroot (Jean Boussier)

11/24/2026

08:49 AM Ruby Revision 79872472 (git): [ruby/json] Release 3.2.0
https://github.com/ruby/json/commit/91f1849426 byroot (Jean Boussier)

Also available in: Atom