| Age | Commit message (Collapse) | Author |
|
Unless it is defined in `numeric.c`.
|
|
`FrozenError` is a subclass of `RuntimeError` which used to be
raised. [Ruby2.5]
|
|
|
|
|
|
|
|
Example benchmark:
$ time build/bench/bin/mruby -e "Array.new(2_000_000){ |i| i }.index{ |i| i == 1_999_999 }"
Before:
real 0m0.934s
user 0m0.922s
sys 0m0.003s
After:
real 0m0.590s
user 0m0.583s
sys 0m0.007s
|
|
|
|
|
|
|
|
It's incompatible with CRuby, but it is required for mruby because
it cannot detect `break` outside of loops in the parsing time, but
in the code generation time where it cannot raise `SyntaxError`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Terminate loop if the value is longer than the last otherwise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
To avoid VM nesting with mrb_funcall()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
More Docs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Surrounding space missing in default value assignment)
|
|
unless usage when having a single-line body)
|
|
|
|
It overwrote the original definition in src/error.c, line 446.
|
|
|