Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Rewrite mrb_ary_splice #3409
Referenced to CRuby's array.c(rb_ary_splice)
ary = Array.new(1024) ary[0x7ffffc00,1024] = Array.new(1024) #=> index 2147482624 too big (IndexError)
It's also passed #3354
ary = Array.new(1023) ary[0x7ffffc00,0] = Array.new(1024) #=> index 2147482624 too big (IndexError)
And count of fails in mruby-spec doesn't change(5 fails).
I'm not confident about GC... Please review.