| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2017-08-28 | Clear `irep->outer` when no `Proc` reference the `irep`; fix #3793 | Yukihiro "Matz" Matsumoto | |
| 2017-08-26 | Reimplement `Array#shift` to be faster. | Yukihiro "Matz" Matsumoto | |
| 2017-08-26 | `Array#first` to treat 1 argument case specially to improve performance. | Yukihiro "Matz" Matsumoto | |
| 2017-08-26 | Check for ability to skip optional argument parsing. | Yukihiro "Matz" Matsumoto | |
| 2017-08-26 | Silence compiler warning regarding float condition; fix #3790 | Yukihiro "Matz" Matsumoto | |
| 2017-08-26 | Remove unused `mrb_obj_iv_ifnone()` from API. | Yukihiro "Matz" Matsumoto | |
| 2017-08-26 | Add checks if `iv_tbl` is NULL. | Yukihiro "Matz" Matsumoto | |
| 2017-08-26 | Keep `Range` class in `mrb_state` structure for performance. | Yukihiro "Matz" Matsumoto | |
| 2017-08-26 | Use `khash` for instance variables tables instead of segment list. | Yukihiro "Matz" Matsumoto | |
| For performance reason. Segmented list consumes slightly less memory but takes a lot of time especially when there are many slots in the segment lists (e.g. class constants). | |||
| 2017-08-25 | fix fmt_fp.c(329) : warning C4244: 'return' : conversion from 'ptrdiff_t' to ↵ | Tomasz Dąbrowski | |
| 'int', possible loss of data | |||
| 2017-08-25 | fix fmt_fp.c(251) : warning C4244: '=' : conversion from '__int64' to 'int', ↵ | Tomasz Dąbrowski | |
| possible loss of data | |||
| 2017-08-25 | fix fmt_fp.c(224) : warning C4244: '=' : conversion from 'ptrdiff_t' to ↵ | Tomasz Dąbrowski | |
| 'int', possible loss of data | |||
| 2017-08-25 | fix fmt_fp.c(220) : warning C4244: '=' : conversion from '__int64' to 'int', ↵ | Tomasz Dąbrowski | |
| possible loss of data | |||
| 2017-08-25 | fix fmt_fp.c(206) : warning C4244: 'initializing' : conversion from ↵ | Tomasz Dąbrowski | |
| 'ptrdiff_t' to 'int', possible loss of data | |||
| 2017-08-25 | fix fmt_fp.c(178) : warning C4244: 'return' : conversion from 'ptrdiff_t' to ↵ | Tomasz Dąbrowski | |
| 'int', possible loss of data | |||
| 2017-08-25 | fix fmt_fp.c(123) : warning C4244: 'return' : conversion from 'ptrdiff_t' to ↵ | Tomasz Dąbrowski | |
| 'int', possible loss of data | |||
| 2017-08-23 | Asserted bidx < ci->nregs for OP_SEND and OP_SUPER | Christopher Aue | |
| 2017-08-22 | Added method cache. | Yukihiro "Matz" Matsumoto | |
| To enable method cache, define `MRB_METHOD_CACHE` or `MRB_METHOD_CACHE_SIZE`. The cache size must be power of 2. The default cache size is 128. The measurement: I measured simple benchmarks found in benchmark/ directory. With method cache enabled, we gained 6-8% performance improvement, with 97-99% cache hit rate. | |||
| 2017-08-22 | Remove possible path that leaves a local variable uninitialized. | Yukihiro "Matz" Matsumoto | |
| 2017-08-22 | `mrb_obj_respond_to` to use `mrb_method_search_vm`. | Yukihiro "Matz" Matsumoto | |
| 2017-08-22 | `strlen` returns `size_t`; need to cast before assigning to `int`. | Yukihiro "Matz" Matsumoto | |
| 2017-08-22 | (Try to) fix mixture of `int` and `size_t` in UTF-8 conversion. | Yukihiro "Matz" Matsumoto | |
| This only effects VC. | |||
| 2017-08-19 | Reduce signed/unsigned warnings in dump.c | Yukihiro "Matz" Matsumoto | |
| 2017-08-19 | Reduce signed/unsigned warnings in fmt_fp.c | Yukihiro "Matz" Matsumoto | |
| 2017-08-19 | Use `ptrdiff_t` instead of `int`. | Yukihiro "Matz" Matsumoto | |
| 2017-08-19 | Remove mixed signed/unsigned comparison in debug.c. | Yukihiro "Matz" Matsumoto | |
| 2017-08-19 | Type check before traversing `irep->outer`; fix #3782 | Yukihiro "Matz" Matsumoto | |
| 2017-08-19 | Call `mrb_full_gc` before `gc_each_objects`; ref #3782 | Yukihiro "Matz" Matsumoto | |
| Otherwise dead object may be seen from `#each_object`. | |||
| 2017-08-19 | Zero width `unshift` should not touch memory; ref #3780 | Yukihiro "Matz" Matsumoto | |
| 2017-08-19 | Unshift pointer move size was wrong (not `len` but `alen`); fix #3780 | Yukihiro "Matz" Matsumoto | |
| 2017-08-18 | `capacify' for `mrb_str_new_capa` should not be `0`. | Yukihiro "Matz" Matsumoto | |
| 2017-08-18 | `mrb_str_cat`: `capa` should not be zero to avoid infinite loops. | Yukihiro "Matz" Matsumoto | |
| 2017-08-18 | `mrb_str_cat`: `capa` should be bigger than `total`. | Yukihiro "Matz" Matsumoto | |
| 2017-08-18 | `ARY_CAPA` handles capacity for embedded arrays by itself. | Yukihiro "Matz" Matsumoto | |
| 2017-08-18 | Reduce signed/unsigned comparison warnings; ref #3785 | Yukihiro "Matz" Matsumoto | |
| 2017-08-18 | Separate `mrb_str_buf_new` and `mrb_str_new_capa`. | Yukihiro "Matz" Matsumoto | |
| `mrb_str_buf_new` is an old function that ensures capacity size of `MRB_STR_BUF_MIN_SIZE` minimum. Usually one need to use `mrb_str_new_capa` instead. | |||
| 2017-08-18 | Remove code duplication in `mrb_str_concat`. | Yukihiro "Matz" Matsumoto | |
| 2017-08-18 | Merge `str_buf_cat` and `mrb_str_cat`. | Yukihiro "Matz" Matsumoto | |
| 2017-08-18 | Merge pull request #3786 from christopheraue/3784_fix | Yukihiro "Matz" Matsumoto | |
| Reset ci in OP_SUPER after potential realloc | |||
| 2017-08-18 | Merge pull request #3785 from miura1729/original | Yukihiro "Matz" Matsumoto | |
| Improve Array structure | |||
| 2017-08-18 | Improve Array structure | Miura Hideki | |
| 2017-08-18 | Reset ci in OP_SUPER after potential realloc | Christopher Aue | |
| 2017-08-12 | Reintroduced not storing converted proc directly in the stack | Christopher Aue | |
| 2017-08-12 | Removed unneeded ci->nregs checks in OP_SEND and OP_SUPER | Christopher Aue | |
| Because of #3504 `ci->nregs = bidx+1` was introduced in b64f08784cc50861dec80c26fce715982c02c9e9. This led to the follow up error #3551 whose fix introduced the `if (bidx >= ci->nregs)` check in 071164b7999d0932fd60fb3c580a6c374ab1cf4f and the `stack_extend(mrb, ci->nregs)` in 93d802987e722444d0520a8d3f28002841c4f825. Then, the code causing #3504 reappeared again in #3590. The fix for it moved the code dealing with the block in OP_SUPER from below the `cipush` to above the `cipush` in d9fb8b69b0621e8cd2c7c43fd8511a83718d7e45. The `if (bidx >= ci->nregs) { ... }` from then on works with the original callinfo and not the pushed one. `ci->nregs` needed to be modified for the pushed one because it is initialized to 0. But for the original ci it is propertly set and a check is not needed. | |||
| 2017-08-12 | Extended stack always based on ci->nregs | Christopher Aue | |
| 2017-08-12 | Refactored variable usage in OP_SEND and OP_SUPER | Christopher Aue | |
| 2017-08-12 | Reduce integer type mismatch warnings in VC. | Yukihiro "Matz" Matsumoto | |
| 2017-08-11 | Remove some empty lines; ref #3778 | Yukihiro "Matz" Matsumoto | |
| 2017-08-11 | Refactored OP_SEND and OP_SUPER and calculate argc right at the top | Christopher Aue | |
| 2017-08-11 | Remove an unused argument from `each_backtrace_func`. | Yukihiro "Matz" Matsumoto | |
