General

Profile

purbug28 (puni ru)

  • Login: purbug28
  • Registered on: 02/28/2025
  • Last sign in: 06/01/2025

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

06/01/2025

06:45 AM Ruby Bug #21171: Segfault on large stack (RUBY_THREAD_VM_STACK_SIZE) on 3.4.2
```diff
--- gc/default/default.c.orig 2025-05-31 23:10:11.742430691 +0000
+++ gc/default/default.c 2025-05-31 23:10:44.442617151 +0000
@@ -9337,9 +9337,9 @@
rb_darray_make(&objspace->weak_references, 0);

// TODO: debug ...
purbug28 (puni ru)

02/28/2025

10:14 PM Ruby Bug #21164: Performance Regression using --jit
Reinstalling Ruby resolved the issue.
Sorry for bothering you.
purbug28 (puni ru)
06:39 PM Ruby Bug #21164: Performance Regression using --jit
```ruby
# frozen_string_literal: true
require 'benchmark'
n = 200000
time = Benchmark.realtime do
c = Array.new(n + 1, 0)
(1..n).each do |i|
a = []
m = 100
(1..m).each do
a << i
c[i] += 1
a...
purbug28 (puni ru)
02:43 PM Ruby Bug #21164 (Feedback): Performance Regression using --jit
Ruby 3.4.2 --jit runs slower than no JIT, while Ruby 3.3.7 --jit runs faster.
```ruby
# frozen_string_literal: true
n = 200000
c = Array.new(n + 1, 0)
(1..n).each do |i|
a = []
m = 100
(1..m).each do
a << i
c[i] +...
purbug28 (puni ru)

Also available in: Atom