[ruby-cvs:54692] normal:r47544 (trunk): string.c (Init_frozen_strings): use st_init_table_with_size

normal at ruby-lang.org normal at ruby-lang.org
Fri Sep 12 06:57:43 JST 2014


normal	2014-09-12 06:57:34 +0900 (Fri, 12 Sep 2014)

  New Revision: 47544

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

  Log:
    string.c (Init_frozen_strings): use st_init_table_with_size
    
    All symbols have an fstring entry, and we initialize symbol tables
    with 1000 bins.  This reduces resizes during startup.

  Modified files:
    trunk/ChangeLog
    trunk/string.c


More information about the ruby-cvs mailing list