- 29 Oct, 2019 1 commit
-
-
mimaki 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 3 commits
-
-
take-cheeze authored
-
Yukihiro "Matz" Matsumoto authored
Merge pull request #4778 from shuujii/move-methods-of-Kernel-to-kernel.rb-from-io.rb-in-mruby-io-gem Move methods of `Kernel` to `kernel.rb` from `io.rb` in `mruby-io` gem
-
KOBAYASHI Shuji authored
-
- 17 Oct, 2019 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
Remove constant export declaration for MRBC output compiled as C
-
yuri authored
-
Yukihiro "Matz" Matsumoto authored
Make `IO#each` family without block to return `Enumerator`
-
KOBAYASHI Shuji authored
-
- 16 Oct, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Merge pull request #4775 from shuujii/use-mrb_sym_name_len-instead-of-mrb_sym_name-in-assign_class_name Use `mrb_sym_name_len` instead of `mrb_sym_name` in `assign_class_name`
-
KOBAYASHI Shuji authored
-
- 15 Oct, 2019 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
Adjust `buf` size in `str_escape`
-
KOBAYASHI Shuji authored
-
- 14 Oct, 2019 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
Fix the example of `Array#intersection` in the document [ci skip]
-
KOBAYASHI Shuji authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-