charliesome
5d7b5481ca
* benchmark/bm_hash_shift.rb: add benchmark for Hash#shift
...
* hash.c (rb_hash_shift): use st_shift if hash is not being iterated to
delete element without iterating the whole hash.
* hash.c (shift_i): remove function
* include/ruby/st.h (st_shift): add st_shift function
* st.c (st_shift): ditto
[Bug #8312 ] [ruby-core:54524] Patch by funny-falcon
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-25 05:03:30 +00:00
..
2012-10-15 12:53:12 +00:00
2011-07-01 10:39:12 +00:00
2011-07-01 10:39:12 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2013-04-25 05:03:30 +00:00
2011-07-01 10:39:12 +00:00
2011-07-01 10:39:12 +00:00
2011-07-01 10:39:12 +00:00
2011-11-17 11:24:07 +00:00
2011-11-17 11:24:07 +00:00
2011-04-30 07:16:31 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2011-07-01 10:39:12 +00:00
2012-10-15 12:53:12 +00:00
2011-07-01 10:39:12 +00:00
2012-11-21 07:15:03 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2012-10-16 20:37:25 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2012-10-16 23:47:51 +00:00
2012-10-15 12:53:12 +00:00
2012-10-17 07:26:58 +00:00
2012-10-16 20:37:25 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2012-05-26 03:25:15 +00:00
2012-10-15 12:53:12 +00:00
2011-07-01 10:39:12 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2012-10-15 12:53:12 +00:00
2012-05-27 14:41:01 +00:00
2011-06-14 19:30:12 +00:00
2011-06-14 19:30:12 +00:00
2012-11-26 09:30:32 +00:00
2011-05-15 11:55:52 +00:00
2011-05-15 11:55:52 +00:00
2009-12-31 15:00:04 +00:00