- 06 Jan, 2016 1 commit
-
-
Kazuho Oku authored
-
- 05 Jan, 2016 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
that means String#index matches first byte of a multi-byte character. this behavior is different from CRuby, but a compromise for mruby which does not have encoding stuffs.
-
- 04 Jan, 2016 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-
- 02 Jan, 2016 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
mruby-fiber: fiber_switch() to use nesting VM when it's called from C API or mrb_funcall(); close #3056
-
- 01 Jan, 2016 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
use _setjmp/_longjmp on OS X
-
- 31 Dec, 2015 5 commits
-
-
Kazuho Oku authored
-
Kazuho Oku authored
-
Yukihiro "Matz" Matsumoto authored
Fiber.yield cannot be called from #initialize which is called by mrb_funcall(). It is mruby limitation.
-
Yukihiro "Matz" Matsumoto authored
Use memchr for performance
-
ksss authored
```ruby s = "b" str = ("a" * 100 + s) t = Time.now str.index(s) puts Time.now - t ``` before => 0.000788 after => 0.000508 --- ```ruby s = "b" str = ("a" * 100 * 1024 * 1024 + s) t = Time.now str.index(s) puts Time.now - t ``` before => 0.225474 after => 0.008658
-
- 30 Dec, 2015 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 29 Dec, 2015 5 commits
-
-
Yukihiro "Matz" Matsumoto authored
Support backtrace after method calls
-
Kouhei Sutou authored
-
Kouhei Sutou authored
GitHub: fix #2902, #2917 The current implementation traverses stack to retrieve backtrace. But stack will be changed when some operations are occurred. It means that backtrace may be broken after some operations. This change (1) saves the minimum information to retrieve backtrace when exception is raised and (2) restores backtrace from the minimum information when backtrace is needed. It reduces overhead for creating backtrace Ruby objects. The space for the minimum information is reused by multiple exceptions. So memory allocation isn't occurred for each exception.
-
Yukihiro "Matz" Matsumoto authored
Fix indent
-
Kouhei Sutou authored
-
- 26 Dec, 2015 6 commits
-
-
Yukihiro "Matz" Matsumoto authored
Improve `Struct` test.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Refactor Array#each
-
Yukihiro "Matz" Matsumoto authored
mirb: Don't exit on Ctrl-C
-
Jun Hiroe authored
-
kyab authored
-
- 25 Dec, 2015 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
rename include blocker
-
Yasuhiro Matsumoto authored
-
- 23 Dec, 2015 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
mrdb: Added 'next' command.
-
Yuhei Okazaki authored
-
Yuhei Okazaki authored
-
Yuhei Okazaki authored
-
- 22 Dec, 2015 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
fix build on VS2012
-
Yasuhiro Matsumoto authored
-
- 21 Dec, 2015 2 commits
-
-
Yukihiro "Matz" Matsumoto authored
fix miscalculation of column number in `peekc_n`
-
Kazuho Oku authored
-
- 16 Dec, 2015 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
Fix "ambiguous first argument" warning
-
Zachary Scott authored
-
Yukihiro "Matz" Matsumoto authored
Add case statement of MRB_TT_SCLASS in mrb_obj_is_kind_of()
-