| Age | Commit message (Collapse) | Author |
|
It may be better to raise exceptions, but CRuby doesn't.
|
|
|
|
Unless `MRB_NAN_BOXING` is specified.
|
|
|
|
Allowed to pass multiple exceptions to assert_raise
|
|
|
|
|
|
|
|
|
|
Refactored #assert_raise and #assert_nothing_raised
|
|
|
|
|
|
|
|
This reverts commit 15d48efa4bf6a6b999dab99720fb9fe3c4a06ef0.
|
|
`__ENCODING__' returns the current encoding name (string), unlike
CRuby that returns the encoding object.
|
|
|
|
|
|
Array refactorings and speed improvements
|
|
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
|
|
|
|
|
|
Fix building with MRB_USE_FLOAT=1
|
|
identifier 'FLT_EPSILON'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
For performance reason. Segmented list consumes slightly less memory
but takes a lot of time especially when there are many slots in the
segment lists (e.g. class constants).
|
|
|
|
Fix string test with 16-bit integers
|
|
Fix MSVC warnings in fmt_fp.c
|
|
|
|
'int', possible loss of data
|
|
possible loss of data
|
|
'int', possible loss of data
|
|
possible loss of data
|
|
'ptrdiff_t' to 'int', possible loss of data
|
|
'int', possible loss of data
|
|
'int', possible loss of data
|
|
Fixed register windows of OP_SENDs generated during codegen
|
|
|
|
|
|
|
|
|
|
|
|
ref #3783
|
|
NODE_{SCALL,CASE,YIELD,UNDEF}; ref #3783
|