[ruby-cvs:50228] nobu:r43086 (trunk): array.c: minor performance improvement

nobu at ruby-lang.org nobu at ruby-lang.org
Sun Sep 29 23:51:03 JST 2013


nobu	2013-09-29 23:51:03 +0900 (Sun, 29 Sep 2013)

  New Revision: 43086

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

  Log:
    array.c: minor performance improvement
    
    * array.c (sort_2): minor performance improvement by replacing
      rb_funcall() with rb_funcallv.
    
    * array.c (rb_ary_bsearch, recursive_cmp, rb_ary_cycle_size): ditto.
    
    * array.c (descending_factorial, binomial_coefficient): ditto.
    
    * array.c (rb_ary_repeated_permutation_size): ditto.

  Modified files:
    trunk/array.c


More information about the ruby-cvs mailing list