Project

General

Profile

« Previous | Next » 

Revision d007e7d2

Added by Akinori MUSHA about 17 years ago

  • array.c (rb_ary_count): Override Enumerable#count for better
    performance.
    (rb_ary_nitems): Undo the backport. Use #count {} instead.

  • enumerator.c (enumerator_iter_i): Remove an unused function.
    (enumerator_with_index, enumerator_each): Remove unused
    variables.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e