General

Profile

byroot (Jean Boussier)

Issues

open closed Total
Assigned issues 1 29 30
Reported issues 30 145 175

Projects

Project Roles Registered on
Ruby Committer 09/27/2021

Activity

Today

09:00 PM Ruby Revision 1b0c22c1 (git): hash.c: compact ar_table on freeze
Since frozen ar_table can occupy smaller slots,
shrinking the table on freeze potentially allow the
Hash to be demoted to an even smaller slot.
byroot (Jean Boussier)
06:01 PM Ruby Revision 4490cedb (git): [ruby/digest] Don't use _Atomic in C99 mode
```
/github/workspace/src/ext/digest/blake3/blake3_dispatch.c:108:5: error: '_Atomic' is a C11 extension [-Werror,-Wc11-extensions]
108 | ATOMIC_INT g_cpu_features = UNDEFINED;
| ^
/github/workspace/src/ext/digest...
byroot (Jean Boussier)
12:32 PM Ruby Revision a75a8ccd (git): [ruby/digest] Revert "Add BLAKE3 support in Digest"
https://github.com/ruby/digest/commit/0296b240dc byroot (Jean Boussier)
09:45 AM Ruby Revision 7da70f17 (git): hash.c: speedup ar_find_entry_hint with SWAR
Instead of iterating over the bytes of the ar_table hints
one by one, we can use a little bit of SWAR code to match them
all at once and return the first matching byte index.
In theory we could even re-use the mask to extract all matchi...
byroot (Jean Boussier)
09:31 AM Ruby Feature #22238: String#tr to take a Hash for multi-character replacements
It's a per character replacement:
```ruby
hash = { "e" => "€", "l" => "EL", "o" => "Ø" }
str = "Hello".gsub(/./m) { hash[$&] || $& } # gsub equivalent
puts str
```
```
H€ELELØ
```
byroot (Jean Boussier)

08/12/2026

05:43 AM Ruby Bug #22241: Restore compatibility for removed `JSON.dump` and `JSON.parse` arguments
> but also think it was problematic that the users had no chance to be noticed about them.
Well, I was planning to add deprecation for them in a new 2.x release soon. Right now it's a RC1, nobody is installing it without explicitly as...
byroot (Jean Boussier)

08/11/2026

03:26 PM Ruby Bug #22241: Restore compatibility for removed `JSON.dump` and `JSON.parse` arguments
> Could JSON 3.0 continue accepting these arguments for compatibility?
I'd prefer if Ruby kept using the `2.x-stable` branch until ready: https://github.com/ruby/json/tree/2.x-stable
byroot (Jean Boussier)
03:25 PM Ruby Bug #22241: Restore compatibility for removed `JSON.dump` and `JSON.parse` arguments
Ref: https://github.com/byroot/json-schema/pull/1 byroot (Jean Boussier)
03:18 PM Ruby Bug #22241: Restore compatibility for removed `JSON.dump` and `JSON.parse` arguments
`quirks_mode` hasn't been a valid argument for years. I can't even tell you what its behavior may have been.
Any code that pass `quirks_mode` should stop passing that argument, and it won't cause any compatibility.
As for the posit...
byroot (Jean Boussier)
08:12 AM Ruby Revision f51515f3 (git): [ruby/json] Relase 3.0.0.rc1
https://github.com/ruby/json/commit/4f89162e8b byroot (Jean Boussier)

Also available in: Atom