Project

General

Profile

« Previous | Next » 

Revision 367fdd1a

Added by ko1 (Koichi Sasada) almost 7 years ago

reset bound if the size is 0.

  • hash.c (RHASH_AR_TABLE_SIZE_DEC): generally, we need to check all
    entries to calculate exact "bound" in ar_table, but if size == 0,
    we can clear bound because there are no active entries.

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