Project

General

Profile

« Previous | Next » 

Revision 75775157

Added by ko1 (Koichi Sasada) over 7 years ago

Introduce table improvement by Vladimir Makarov .
[Feature #12142]
See header of st.c for improvment details.

    You can see all of code history here:
    <https://github.com/vnmakarov/ruby/tree/hash_tables_with_open_addressing>

    This improvement is discussed at
    <https://bugs.ruby-lang.org/issues/12142>
    with many people, especially with Yura Sokolov.

    * st.c: improve st_table.

    * include/ruby/st.h: ditto.

    * internal.h, numeric.c, hash.c (rb_dbl_long_hash): extract a function.

    * ext/-test-/st/foreach/foreach.c: catch up this change.

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