mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
array.c: call mrb_ary_delete_at() directly from Array#slice!.
Avoid `mrb_funcall()`.
This commit is contained in:
+1
-1
@@ -1009,7 +1009,7 @@ mrb_ary_aset(mrb_state *mrb, mrb_value self)
|
||||
return v3;
|
||||
}
|
||||
|
||||
static mrb_value
|
||||
mrb_value
|
||||
mrb_ary_delete_at(mrb_state *mrb, mrb_value self)
|
||||
{
|
||||
struct RArray *a = mrb_ary_ptr(self);
|
||||
|
||||
Reference in New Issue
Block a user