- 07 Nov, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Clear `MRB_STR_SHARED` flag in `mrb_str_modify_keep_ascii`; close #4807
-
KOBAYASHI Shuji authored
-
- 06 Nov, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Drop test dependency from `mruby-hash-ext` to `mruby-enumerator`
-
KOBAYASHI Shuji authored
-
- 05 Nov, 2019 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
Merge pull request #4805 from shuujii/remove-test-that-depend-on-mruby-enumerator-from-mruby-array-ext Remove test that depend on `mruby-enumerator` from `mruby-array-ext`
-
KOBAYASHI Shuji authored
`Object.const_defined?(:Enumerator)` is always false because `mruby-enumerator` is not specified in `test_dependency`. I don't think this test is necessary.
-
Yukihiro "Matz" Matsumoto authored
Avoid using C++ style comments (`//`) in `parse.y` [ci skip]
-
- 04 Nov, 2019 1 commit
-
-
KOBAYASHI Shuji authored
-
- 03 Nov, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Remove unused enum in `mrb_cstr_to_dbl`
-
KOBAYASHI Shuji authored
-
- 02 Nov, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Fix argument specs to `Hash`
-
KOBAYASHI Shuji authored
-
- 01 Nov, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Fix argument specs to `File`
-
KOBAYASHI Shuji authored
-
- 31 Oct, 2019 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
Fix argument specs to `Fiber`
-
- 30 Oct, 2019 2 commits
-
-
KOBAYASHI Shuji authored
-
Yukihiro "Matz" Matsumoto authored
-
- 29 Oct, 2019 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
Fix `git` command parameter for Windows.
-
Yukihiro "Matz" Matsumoto authored
Remove unneeded `Array` creation in `Struct#_inspect`
-
mimaki authored
-
KOBAYASHI Shuji authored
-
- 28 Oct, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Remove documents about `Regexp` argument from `String#{[],[]=}` [ci skip]
-
KOBAYASHI Shuji authored
-
- 27 Oct, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Refine `String#split` document
-
KOBAYASHI Shuji authored
-
- 26 Oct, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Merge pull request #4791 from shuujii/optimize-chars2bytes-with-MRB_UTF8_STRING-to-ASCII-only-string Optimize `chars2bytes` with `MRB_UTF8_STRING` to ASCII only string
-
KOBAYASHI Shuji authored
### Benchmark (with `MRB_UTF8_STRING`) ``` $ mruby -e ' COUNT = 150000 SIZE = 10000 strs = Array.new(COUNT) do s = "a" * SIZE s.size # set `MRB_STR_ASCII` flag s end i = 0 t = Time.now while i < COUNT strs[i][-2..-1] = "" i += 1 end printf "%.2f sec\n", Time.now - t ' 1.10 sec # before 0.07 sec # after ```
-
- 25 Oct, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Squeeze redundant spaces in `test/t/numeric.rb` [ci skip]
-
KOBAYASHI Shuji authored
-
- 24 Oct, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Fix argument specs to `Exception`
-
KOBAYASHI Shuji authored
-
- 23 Oct, 2019 6 commits
-
-
Yukihiro "Matz" Matsumoto authored
Optimize `str_subseq` with `MRB_UTF8_STRING` to ASCII only string
-
KOBAYASHI Shuji authored
### Benchmark (with `MRB_UTF8_STRING`) ```ruby # benchmark.rb COUNT = 300000 SIZE = 10000 s = "a" * SIZE s.size # set `MRB_STR_ASCII` flag i = 0 while i < COUNT s[-1] i += 1 end ``` #### Before this patch: ``` $ time mruby benchmark.rb 2.06 real 2.05 user 0.00 sys ``` #### After this patch: ``` $ time mruby benchmark.rb 0.05 real 0.04 user 0.00 sys ```
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Fix incorrect `MRB_STR_ASCII` flag update in `mrb_str_dump`
-
- 22 Oct, 2019 1 commit
-
-
KOBAYASHI Shuji authored
### Example (with `MRB_UTF8_STRING`) ```ruby s = "\u3042" p s.size s.dump p s.size ``` #### Before this patch: ``` 1 3 ``` #### After this patch: ``` 1 1 ```
-
- 21 Oct, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Remove `Kernel#getc`
-
KOBAYASHI Shuji authored
`Kernel#getc` has been removed since Ruby 1.9 and is not defined in ISO.
-