General

Profile

byroot (Jean Boussier)

Issues

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

Projects

Project Roles Registered on
Ruby Committer 09/27/2021

Activity

Today

07:39 AM Ruby Misc #22249: DevMeeting-2026-09-10
* [Feature #22232] Deprecate `RHASH_TBL` and associated APIs (byroot)
* I would like to deprecate `RHASH_TBL`, `RHASH_TBL_RAW` and `rb_hash_bulk_insert_into_st_table`.
* It's a dangerous API because it allow bypassing write barrier...
byroot (Jean Boussier)

08/17/2026

07:07 AM Ruby Revision b13b6b74 (git): [ruby/json] Update Hash syntax in tests
https://github.com/ruby/json/commit/0479b66aec byroot (Jean Boussier)

08/16/2026

11:50 AM Ruby Revision fb99639e (git): Get rid of `rb_hash_new_with_size`
It's redundant with `rb_hash_new_capa` which is public API,
might as well use that one.
byroot (Jean Boussier)

08/15/2026

07:21 AM Ruby Revision d1c07975 (git): hash.c: refactor allocator
Centralize the slot size logic in `hash_alloc_capa`. byroot (Jean Boussier)

08/14/2026

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)

Also available in: Atom