General

Profile

Eregon (Benoit Daloze)

  • Login: Eregon
  • Registered on: 07/30/2009
  • Last sign in: 10/20/2026

Issues

open closed Total
Assigned issues 2 72 74
Reported issues 29 209 238

Projects

Project Roles Registered on
Ruby Committer 08/02/2012

Activity

10/20/2026

10:20 AM Ruby Bug #22396: Using rb_postponed_job_trigger causes YJIT/ZJIT compiled methods side exits
alanwu (Alan Wu) wrote in #note-5:
> interrupt checking is also used for thread switching internally
Interesting.
I could reproduce a very similar issue but with no profiler or postponed job at all:
```
$ ruby -v --yjit --yjit-c...
Eregon (Benoit Daloze)

10/19/2026

08:31 PM Ruby Feature #22437: Speed up creation and basic operations of Struct / Data
And BTW the base `Data#initialize` needs to be kept because `Psych` relies on that to create Data instances (https://github.com/ruby/psych/pull/765).
That one would remain rather slow, but is used more rarely so matters less.
Eregon (Benoit Daloze)
08:28 PM Ruby Feature #22437: Speed up creation and basic operations of Struct / Data
I think the approach to define an `initialize` per subclass is the most promising, and where there is the most performance to gain.
TruffleRuby already generates an `initialize` per Struct subclass (with Ruby code) in some cases:
https:...
Eregon (Benoit Daloze)
07:25 PM Ruby Bug #22452: `rb_equal` returns true for `NaN == NaN`
There is also `equal?`:
```ruby
irb(main):003> RUBY_DESCRIPTION
=> "ruby 4.0.7 (2026-09-15 revision 229531a6cf) +PRISM [x86_64-linux]"
irb(main):001> Float::NAN == Float::NAN
=> false
irb(main):002> Float::NAN.equal?(Float::NAN)
=> true
...
Eregon (Benoit Daloze)

10/15/2026

08:36 AM Ruby Feature #21539: Export symbols for external profiling of stripped shared Ruby builds
For clarity, it's also fine if these symbols get renamed/changed/etc, exporting them doesn't imply any future compatibility, it's just best-effort.
Without the export it's very difficult and hacky to get to them, which translates to cas...
Eregon (Benoit Daloze)
08:33 AM Ruby Feature #21539: Export symbols for external profiling of stripped shared Ruby builds
+1, this would make external profilers more reliable (there are several important advantages of external profilers, e.g. reduce a lot the observer effect, no need to change anything in the already-running program).
Datadog is shipping t...
Eregon (Benoit Daloze)

10/14/2026

02:20 PM Ruby Revision 091399f6 (git): Move prism_compile.h include out of iseq.h
iseq.h does not reference any of the pm_* types or functions declared in
prism_compile.h, so include the latter from the files that actually use
it instead. Only 6 of the 19 files including iseq.h need the prism
declarations, so this kee...
Eregon (Benoit Daloze)

10/09/2026

07:26 PM Ruby Revision 49bfc6cd (git): Link to efficient_extensions.md from extension.rdoc for discoverability
Eregon (Benoit Daloze)
07:26 PM Ruby Revision 5ee67ca3 (git): Fix some typos in extension.rdoc
Eregon (Benoit Daloze)
07:26 PM Ruby Revision ef83236c (git): Rework the RUBY_TYPED_FROZEN_SHAREABLE to be more precise and accurate
* See https://github.com/ruby/ruby/pull/18492#discussion_r4207898351 Eregon (Benoit Daloze)

Also available in: Atom