alpaca-tc (Hiroyuki Ishii)
- Login: alpaca-tc
- Registered on: 02/18/2016
- Last sign in: 08/22/2025
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 5 | 5 |
Activity
08/02/2025
-
02:23 PM Ruby Bug #21528 (Closed): SyntaxError#message may have broken encoding with multibyte source under Prism
- Since the introduction of Prism, when parsing Ruby source code that contains multibyte characters, SyntaxError#message can sometimes have invalid encoding.
Here is a reproducible example:
```
begin
RubyVM::InstructionSequence.compi...
06/09/2025
-
03:33 AM Ruby Bug #21201 (Closed): Performance regression when defining methods inside `refine` blocks
- Applied in changeset commit:git|c8ddc0a843074811b200673a2019fbe4b50bb890.
----------
Optimize callcache invalidation for refinements
Fixes [Bug #21201]
This change addresses a performance regression where defining methods
inside `refi... -
03:33 AM Ruby Revision c8ddc0a8 (git): Optimize callcache invalidation for refinements
- Fixes [Bug #21201]
This change addresses a performance regression where defining methods
inside `refine` blocks caused severe slowdowns. The issue was due to
`rb_clear_all_refinement_method_cache()` triggering a full object
space scan v...
04/07/2025
-
02:16 PM Ruby Bug #21201: Performance regression when defining methods inside `refine` blocks
- byroot (Jean Boussier) wrote in #note-1:
> The solution is likely to keep the list (set) of all existing call caches that belong to a refinement, as to save the object space traversal.
I created a pull request based on this approach....
03/27/2025
-
11:20 AM Ruby Bug #21201 (Closed): Performance regression when defining methods inside `refine` blocks
- After the change introduced in [PR #10037](https://github.com/ruby/ruby/pull/10037), a significant performance regression has been observed when defining methods within refine blocks.
The PR correctly fixes a bug where `callcache` inv...
03/08/2024
-
09:23 AM Ruby Revision e8f796e9 (git): [ruby/irb] rdoc version lock is required
- (https://github.com/ruby/irb/pull/897)
Some features of irb do not work properly when using the old rdoc.
I have compared several major versions and found that it works as intended from 4.0.0.
This problem occurs when there is a Gemfil...
11/04/2023
-
03:54 PM Ruby Revision 8ed733f8 (git): ast.rb: Fix bug for source of multibyte characters
- first_column and last_column return byte positions, but existing implementations
did not consider multibyte.
04/11/2023
-
02:08 AM Ruby Bug #19589 (Closed): Expecting system stack error but crashing
- The following code expects stack overflow but crashes.
The version it occurs in is newer than 3.2.0.
```
def expect_system_stack_error(h)
h.each_key {}
h.each_value { expect_system_stack_error(h) }
end
expect_system_stack_...
01/22/2021
-
04:32 PM Ruby Bug #17494: ruby is hanged when using activesupport + rspec + rspec-parameterized
- I investigated this issue deeply based on yhonda's example code. Then I succeeded to create tiny reproduction code.
```ruby
Object.prepend(Module.new)
using(Module.new {
refine Object do
def hello; end
end
})
Object...
12/26/2016
-
04:59 AM Ruby Bug #13074 (Closed): When executing instance_exec with symbol.to_proc, it ignores first argument.
- Is this intentional?
```
# Ruby 2.3.3
« instance_exec(1) { |i| i.itself }
=> 1
« instance_exec(1, &:itself)
=> 1
# Ruby 2.4.0
« instance_exec(1) { |i| i.itself }
=> 1
« instance_exec(1, &:itself)
=> main
```