[ruby-cvs:54012] nobu:r46866 (trunk): optimized any? methods

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Jul 18 22:16:50 JST 2014


nobu	2014-07-18 22:16:48 +0900 (Fri, 18 Jul 2014)

  New Revision: 46866

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

  Log:
    optimized any? methods
    
    * array.c (rb_ary_any_p), hash.c (rb_hash_any_p): optimized
      versions.  these are bit faster than optimization in
      Enumerable#any?.

  Modified files:
    trunk/array.c
    trunk/hash.c
    trunk/test/ruby/test_settracefunc.rb


More information about the ruby-cvs mailing list