diff options
author | Masaki Matsushita <glass.saga@gmail.com> | 2021-02-06 17:01:42 +0900 |
---|---|---|
committer | Masaki Matsushita <glass.saga@gmail.com> | 2021-02-06 17:23:16 +0900 |
commit | e1e61e256bd65ac3f293ba1513d1a934b9a3bff9 (patch) | |
tree | 2ea619457505569a0a2e74c19c692e286a38791a /lib/irb/cmd | |
parent | 94fb62e4a01975d61ad074f882068fdd7d6ed474 (diff) |
Improve performance of Array#- when it is called with empty array
This change make Array#- return a copy of the receiver when
the other array is empty.
Diffstat (limited to 'lib/irb/cmd')
0 files changed, 0 insertions, 0 deletions