General

Profile

byroot (Jean Boussier)

Issues

open closed Total
Assigned issues 0 28 28
Reported issues 28 136 164

Projects

Project Roles Registered on
Ruby Committer 09/27/2021

Activity

04/21/2026

11:50 PM Ruby Revision 5bd3e85e (git): Make `rb_enc_str_coderange` inlinable by default
This is a generalization of the optimization done in re.c
as part of d0fbdb005cecd8513aeacb234365d71f9a9b521e.
Code that deal with coderange can benefit significantly from
avoiding that function call, assuming coderange is often already...
byroot (Jean Boussier)
07:30 AM Ruby Revision 47e06127 (git): class.c: Make cvc_tbl a managed object
[Bug #21952]
Solves the double-free or use after-free concern with boxes.
Now entries can safely be used for copy-on-write.
Also is likely necessary to make it save to read cvar from
secondary ractors, as allowed since: ab32c0e690b805c...
byroot (Jean Boussier)

04/18/2026

10:32 PM Ruby Feature #21962: Add deep_freeze for recursive freezing
I don't have a strong opinion here, but one argument I could see for inclusion in core is to optimize frozen constants, e.g.
```ruby
SCHEMA = [
{ type: :foo, tags: ["a", "b"] },
{ type: :bar, tags: ["c", "d"] },
...
].deep_...
byroot (Jean Boussier)
09:06 PM Ruby Revision 7ba00509 (git): [ruby/json] Release 2.19.4
https://github.com/ruby/json/commit/6688a814bf byroot (Jean Boussier)
08:59 PM Ruby Bug #22007: Inconsistent type checking on rescue
Eregon (Benoit Daloze) wrote in #note-2:
> I think any expression should be allowed and just call `===` on them.
Agreed. To me `rescue` is just a shorthand for `rescue e; case e; when ` but that is strangely limited.
I suspect rem...
byroot (Jean Boussier)

04/15/2026

09:51 AM Ruby Revision 1bdce358 (git): iseq.c: rb_estimate_iv_count handle no superclass
[Bug #21992]
When redefining `BasicObject#initialize` there's no super class to
access.
byroot (Jean Boussier)
06:38 AM Ruby Revision 84f76922 (git): [ruby/json] Fix parsing of *negative* out of bound floats.
https://github.com/ruby/json/commit/1072482184 byroot (Jean Boussier)
06:21 AM Ruby Revision 5b4d95b8 (git): [ruby/json] Fix handling out of of range exponent in numbers
Fix: https://github.com/ruby/json/issues/970
If the parsed exponent overflows a `int32_t` passing it
to ryu is incorrect.
We could pass it to `rb_cstr_to_dbl` but then Ruby will emit
an annoying warning, instead we can coerce to `0.0` ...
byroot (Jean Boussier)
04:51 AM Ruby Bug #22002: argument stack underflow (-1)
I can repro on both 3.4 and 4.0.
byroot (Jean Boussier)

04/14/2026

05:34 PM Ruby Revision 3dc20120 (git): iseq.c: rb_estimate_iv_count handle no superclass
[Bug #21992]
When redefining `BasicObject#initialize` there's no super class to
access.
byroot (Jean Boussier)

Also available in: Atom