General

Profile

byroot (Jean Boussier)

Issues

open closed Total
Assigned issues 2 29 31
Reported issues 29 148 177

Projects

Project Roles Registered on
Ruby Committer 09/27/2021

Activity

Today

09:34 AM Ruby Feature #22297 (Open): Module#method_defined? should have an `include_private` argument
Active Record generate methods during boot time based on the database schema. However before defining every one of these methods it first check if it
already exists, regardless of visibility, as to avoid overwriting use defined code.
...
byroot (Jean Boussier)
06:57 AM Ruby Revision 3ade997a (git): [ruby/json] Release 3.0.0
https://github.com/ruby/json/commit/9427d36671 byroot (Jean Boussier)

09/06/2026

06:47 PM Ruby Revision 6acfd9c2 (git): string.c: Speedup `String#tr` fastpath with SIMD
The fast path is now 4.4x faster, now making it ~2.6x times
faster than `CGI.escape_html`, and 26x faster than an equivalent
`gsub`.
```
compare-ruby: ruby 4.1.0dev (2026-09-06T11:22:48Z master 13fc4ffd32) +YJIT +PRISM [arm64-darwin25]
...
byroot (Jean Boussier)
11:22 AM Ruby Bug #22292 (Closed): YJIT/ZJIT: Struct accessor crashes after an instance variable is set on a Struct that exactly fills the largest GC slot
So I landed in a somewhat half-way patch for 4.0: https://github.com/ruby/ruby/pull/18645 byroot (Jean Boussier)
08:40 AM Ruby Bug #22292: YJIT/ZJIT: Struct accessor crashes after an instance variable is set on a Struct that exactly fills the largest GC slot
Alright, I can reproduce now, but I don't think the proposed patch make sense, as it almost always reserves and extra member, at that point we might as well backport 6f339aebfe9b233304ea98f53274a48f614e7aea, it's simpler and cleaner (not... byroot (Jean Boussier)
07:42 AM Ruby Bug #22292 (Open): YJIT/ZJIT: Struct accessor crashes after an instance variable is set on a Struct that exactly fills the largest GC slot
byroot (Jean Boussier)
07:42 AM Ruby Bug #22292: YJIT/ZJIT: Struct accessor crashes after an instance variable is set on a Struct that exactly fills the largest GC slot
The code on master was a forgotten leftover from a recent change I just removed it.
On 4.0, it's a bit weird, I can indeed reproduce on 4.0.6, but I'm failing to reproduce on the `ruby_4_0` branch, not yet clear why.
byroot (Jean Boussier)
07:23 AM Ruby Bug #22292 (Closed): YJIT/ZJIT: Struct accessor crashes after an instance variable is set on a Struct that exactly fills the largest GC slot
Applied in changeset commit:git|2f72b3d142f4b66c3dfba4a7b49aaa101f9780cd.
----------
struct.c: Strop reserving extra space for ivars
[Bug #22292]
This was a leftover 6f339aebfe9b233304ea98f53274a48f614e7aea
byroot (Jean Boussier)
07:22 AM Ruby Revision 2f72b3d1 (git): struct.c: Strop reserving extra space for ivars
[Bug #22292]
This was a leftover 6f339aebfe9b233304ea98f53274a48f614e7aea
byroot (Jean Boussier)
06:00 AM Ruby Revision 56089b4f (git): Do not increase ::Object and ::BasicObject `max_iv_count`
[Bug #22290]
Otherwise any code defining instance variables on `::Object`
(including `main`) will bloat all classes defined afterwards.
byroot (Jean Boussier)

Also available in: Atom