General

Profile

mame (Yusuke Endoh)

  • Login: mame
  • Email: mame@ruby-lang.org
  • Registered on: 05/28/2008
  • Last sign in: 03/16/2026

Issues

open closed Total
Assigned issues 3 149 152
Reported issues 16 349 365

Projects

Project Roles Registered on
Ruby Committer, Security team, Infrastructure team 05/28/2008

Activity

Today

08:13 AM Ruby Feature #22130: Add a new YARV instruction for a `String.new` fast path
Note that adding new instructions is not free. I actually experienced this while working on #22182: `vm_exec_core` is already a huge C function, and adding new instructions can push it over the C compiler's inlining threshold, which actu... mame (Yusuke Endoh)
08:05 AM Ruby Bug #21848 (Feedback): GC compaction freezes during code reload with 100% CPU in rb_vm_ci_free -> st_general_delete
Can we close this, assuming it was fixed by #22104? The fix will be included in 4.0.6. Could you try it once it is out? Setting this to Feedback for now. mame (Yusuke Endoh)
06:51 AM Ruby Feature #21720 (Feedback): Add a native Binary Heap / Priority Queue to Ruby's Standard Library (heapify, heappush, heappop)
mame (Yusuke Endoh)
06:41 AM Ruby Bug #22179 (Assigned): Coverage: redefined methods silently disappear from method Coverage.result after GC
mame (Yusuke Endoh)
06:40 AM Ruby Bug #22176 (Assigned): [Feature] TracePoint#defined_box: get the Ruby::Box where a method is defined
mame (Yusuke Endoh)

07/06/2026

06:06 PM Ruby Feature #22182 (Open): Optimize method chains by destructively updating intermediate objects
This is an experimental optimization idea that speeds up typical method chains by destructively updating their intermediate objects.
Intuitively, it works like this:
* `str.strip.upcase` runs like `str.strip.upcase!`
* `ary.map {}...
mame (Yusuke Endoh)

07/04/2026

03:08 PM Ruby Feature #22175: Add `Range#clamp`
For the record, here is the use case I had in mind when talking with @nobu:
When traversing the 3x3 neighborhood of a cell (x, y) on a 2D grid of width x height, one is tempted to write code like this:
```ruby
(y - 1).upto(y + 1) ...
mame (Yusuke Endoh)

07/01/2026

02:15 PM Ruby Bug #20081: Transfered Fiber doesn't return to Fiber that started it
@ioquatix I don't think the PR solves this issue. In the following example, worker 1 is abandoned in a suspended state:
```ruby
manager = Fiber.new do
parent = Fiber.current
worker2 = nil
worker1 = Fiber.new do
puts "wo...
mame (Yusuke Endoh)

06/30/2026

03:29 PM Ruby Feature #19315: Lazy substrings in CRuby
Thanks for running the benchmarks. I made a chart to visualize the results.
![](ruby-bench-ratio.png)
The further left a bar is, the faster your change is than master; the further right, the slower.
Looking at the results, fluen...
mame (Yusuke Endoh)

06/26/2026

04:45 PM Ruby Revision 29a3b2e9 (git): [ruby/error_highlight] Bump version to 0.7.2
https://github.com/ruby/error_highlight/commit/d945ffd2aa mame (Yusuke Endoh)

Also available in: Atom