[ruby-cvs:65079] naruse:r57913 (ruby_2_4): merge revision(s) 57255, 57256, 57257: [Backport #13111]

naruse at ruby-lang.org naruse at ruby-lang.org
Sun Mar 12 23:57:21 JST 2017


naruse	2017-03-12 23:57:21 +0900 (Sun, 12 Mar 2017)

  New Revision: 57913

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57913

  Log:
    merge revision(s) 57255,57256,57257: [Backport #13111]
    
    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.
    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.
    forwardable.rb: fix branches
    
    * lib/forwardable.rb (instance_delegate, single_delegate): fix
      inverted branches.

  Modified directories:
    branches/ruby_2_4/
  Modified files:
    branches/ruby_2_4/lib/forwardable.rb
    branches/ruby_2_4/version.h


More information about the ruby-cvs mailing list