- 05 Nov, 2019 1 commit
-
-
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.
-
- 20 Oct, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Use `mrb_str_cat_str` instead of `mrb_str_concat` if possible
-
KOBAYASHI Shuji authored
-
- 19 Oct, 2019 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
Fix that `Module#to_s` may return frozen string; ref 08eafe21
-
KOBAYASHI Shuji authored
-
Yukihiro "Matz" Matsumoto authored
Print mrbc command on verbose mode
-
- 18 Oct, 2019 1 commit
-
-
take-cheeze authored
-