diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-05 04:25:44 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-05 04:25:44 +0000 |
commit | 78be4478d176f9dc6f2e4fd8a5daa90173458568 () | |
tree | efee19ebee8620cf477872395f7c111dfd3b7f38 /regparse.c | |
parent | 7841cb1ef1a786a9848742813cfde3591be511ae (diff) |
implement Array-specific #all?, #none?, #one?
Before this Array#all? was not implemented in Array class and alternatively Enumerable#all? was used, while #any? has its own method entry in Array class. Similarly, Array#none? and #one? also lacks its own implementation. This provides Array-specific implementations for above three methods to enable faster method lookup. [Fix GH-2041] From: Koji Onishi <[email protected]> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
0 files changed, 0 insertions, 0 deletions