General

Profile

Eregon (Benoit Daloze)

  • Login: Eregon
  • Registered on: 07/30/2009
  • Last sign in: 06/25/2026

Issues

open closed Total
Assigned issues 2 67 69
Reported issues 32 199 231

Projects

Project Roles Registered on
Ruby Committer 08/02/2012

Activity

07/07/2026

09:01 PM Ruby Feature #22102: C API to obtain a C string from a Ruby String
+1, I think this is useful to add Eregon (Benoit Daloze)
09:01 PM Ruby Revision 09a9bdeb (git): Temporarily disable incompatible override of Array#find in YJIT & ZJIT
Eregon (Benoit Daloze)
08:46 PM Ruby Feature #16757: Add intersection to Range
I think we should add this, see discussion in #22175. Eregon (Benoit Daloze)
08:44 PM Ruby Feature #22175: Add `Range#clamp`
Regarding the 3x3 neighborhood of a cell, my favorite solution is this:
```ruby
board = {} # x+y.i => v
fill(board)
[-1i-1, -1i, -1i+1, -1, +1, 1i-1, 1i, 1i+1].each do { |dir|
board[pos + dir]
}
```
It avoids the nested loop ...
Eregon (Benoit Daloze)
08:39 PM Ruby Feature #22175: Add `Range#clamp`
This looks nice but I think Range intersection is more general and more useful.
It's also symmetrical which seems a nice property.
Manually implementing Range intersection is not trivial and having built-in would be great.
We already ha...
Eregon (Benoit Daloze)
08:28 PM Ruby Feature #22135: Remove obsolete `ObjectSpace#_id2ref`
+1 Eregon (Benoit Daloze)

06/30/2026

02:19 PM Ruby Bug #22133: Ruby's default SIGINT handling ignores `Thread.handle_interrupt` masking.
Seems like a clear bugfix.
TruffleRuby already behaves like this.
Eregon (Benoit Daloze)

06/29/2026

10:15 AM Ruby Revision e9ace540 (git): Fix ar_find_entry_hint() to handle #eql? or another thread changing bound or converting to st_table
* While perusing code in hash.c I found it suspicious that ar_find_entry_hint()
didn't reread bound in the loop and yet called arbitrary code through #eql?.
* ar_find_entry_hint() before this commit would not check if bound or the stor...
Eregon (Benoit Daloze)

06/27/2026

04:01 PM Ruby Feature #22132: Scala-like for comprehensions
I agree with @zverok, this looks very much *not* Ruby-like to me.
I also see no need for it.
It feels more like Python or Scala.
Python has `for` comprehensions because it doesn't even have a decent `map` or `filter` (only as a top-level...
Eregon (Benoit Daloze)

06/26/2026

08:00 PM Ruby Feature #22131 (Closed): Avoid array allocation in `Array#include?` on literal arrays
Eregon (Benoit Daloze)

Also available in: Atom