[ruby-cvs:51039] glass:r43895 (trunk): * st.c: add st_values() and st_values_check().

glass at ruby-lang.org glass at ruby-lang.org
Thu Nov 28 17:39:18 JST 2013


glass	2013-11-28 17:39:16 +0900 (Thu, 28 Nov 2013)

  New Revision: 43895

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

  Log:
    * st.c: add st_values() and st_values_check().
    
    * include/ruby/st.h: add prototypes for above.
    
    * hash.c (rb_hash_values): use st_values_check() for performance
     improvement if VALUE and st_data_t are compatible.

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


More information about the ruby-cvs mailing list