General

Profile

usumerican (usumerican _)

  • Login: usumerican
  • Registered on: 02/02/2025
  • Last sign in: 02/03/2025

Issues

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

Activity

02/02/2025

04:58 AM Ruby Bug #21106 (Closed): The last iteration of the rb_ary_shuffle_bang function is useless
The number of iterations in the Fischer-Yates shuffle is (N-1) times.
In the following verification code, rand function is called N times.
```
class R
def rand(n)
puts n
return 0
end
end
a = [1,2,3,4,5,6,7,8,9,...
usumerican (usumerican _)

Also available in: Atom