Skip to content
  • Koichi Sasada's avatar
    e4c79d0d
    rename li_table->ar_table (and related names). · e4c79d0d
    Koichi Sasada authored
    * internal.h: rename the following names:
      * li_table -> ar_table. "li" means linear (from linear search),
        but we use the word "array" (from data layout).
      * RHASH_ARRAY -> RHASH_AR_TABLE. AR_TABLE is more clear.
      * rb_hash_array_* -> rb_hash_ar_table_*.
      * RHASH_TABLE_P() -> RHASH_ST_TABLE_P(). more clear.
      * RHASH_CLEAR() -> RHASH_ST_CLEAR().
    
    * hash.c: rename "linear_" prefix functions to "ar_" prefix.
    
    * hash.c (linear_init_table): rename to ar_alloc_table.
    
    * debug_counter.h: rename obj_hash_array to obj_hash_ar.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    e4c79d0d
    rename li_table->ar_table (and related names).
    Koichi Sasada authored
    * internal.h: rename the following names:
      * li_table -> ar_table. "li" means linear (from linear search),
        but we use the word "array" (from data layout).
      * RHASH_ARRAY -> RHASH_AR_TABLE. AR_TABLE is more clear.
      * rb_hash_array_* -> rb_hash_ar_table_*.
      * RHASH_TABLE_P() -> RHASH_ST_TABLE_P(). more clear.
      * RHASH_CLEAR() -> RHASH_ST_CLEAR().
    
    * hash.c: rename "linear_" prefix functions to "ar_" prefix.
    
    * hash.c (linear_init_table): rename to ar_alloc_table.
    
    * debug_counter.h: rename obj_hash_array to obj_hash_ar.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Loading