diff options
| author | Yusuke Endoh <mame@ruby-lang.org> | 2020-10-21 13:29:19 +0900 |
|---|---|---|
| committer | aycabta <aycabta@gmail.com> | 2020-12-05 02:58:58 +0900 |
| commit | 76cac4c05a7be61a94a709b8b850118ad0bfa684 (patch) | |
| tree | 3131f03a4c77ab2bccc1a66d4e626a823d096379 /spec/ruby/core/array | |
| parent | b3e0db80606614f11412604f1657a135002326e9 (diff) | |
[ruby/reline] Improve the performance of `get_mbchar_width`
It is about three times faster to use one big regexp instead of
sequential matching.
https://github.com/ruby/reline/commit/e36f6c0707
Diffstat (limited to 'spec/ruby/core/array')
0 files changed, 0 insertions, 0 deletions
