[ruby-cvs:50380] glass:r43238 (trunk): * st.c (st_keys): define st_keys() for performance improvement of

glass at ruby-lang.org glass at ruby-lang.org
Thu Oct 10 21:06:03 JST 2013


glass	2013-10-10 21:06:01 +0900 (Thu, 10 Oct 2013)

  New Revision: 43238

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

  Log:
    * st.c (st_keys): define st_keys() for performance improvement of
      Hash#keys and Array#uniq.
    
    * st.h: ditto.
    
    * hash.c (rb_hash_keys): use st_keys().

  Modified files:
    trunk/ChangeLog
    trunk/hash.c
    trunk/include/ruby/st.h
    trunk/st.c


More information about the ruby-cvs mailing list