diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-01-03 09:35:26 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-01-03 09:35:26 +0000 |
commit | 2bbeed7bdc97eb323326b626e3fea4fe3c2d96a7 (patch) | |
tree | 2bbc13cadac2e74d20b22f5228da6c20b8710690 /thread.c | |
parent | eaa8974ec115321c456281d27b1dc09aaf399897 (diff) | |
download | ruby-2bbeed7bdc97eb323326b626e3fea4fe3c2d96a7.tar.gz |
forwardable.rb: use defined?
* lib/forwardable.rb (_delegator_method): use defined? operator
instead of binding and calling unbound Kernel#respond_to?. a
remedy for an performance bottleneck.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
0 files changed, 0 insertions, 0 deletions