1. 29 Oct, 2019 1 commit
  2. 28 Oct, 2019 2 commits
  3. 27 Oct, 2019 2 commits
  4. 26 Oct, 2019 2 commits
    • Yukihiro "Matz" Matsumoto's avatar
      Merge pull request #4791 from... · 8710a22c
      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
      8710a22c
    • KOBAYASHI Shuji's avatar
      Optimize `chars2bytes` with `MRB_UTF8_STRING` to ASCII only string · db0a4d90
      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
        ```
      db0a4d90
  5. 25 Oct, 2019 2 commits
  6. 24 Oct, 2019 2 commits
  7. 23 Oct, 2019 6 commits
  8. 22 Oct, 2019 1 commit
  9. 21 Oct, 2019 2 commits
  10. 20 Oct, 2019 2 commits
  11. 19 Oct, 2019 3 commits
  12. 18 Oct, 2019 3 commits
  13. 17 Oct, 2019 4 commits
  14. 16 Oct, 2019 2 commits
  15. 15 Oct, 2019 2 commits
  16. 14 Oct, 2019 4 commits