[前][次][番号順一覧][スレッド一覧][生データ]

ruby-cvs:20294

From: shyouhei ruby-lang.org
Date: Thu, 16 Aug 2007 08:45:25 +0900 (JST)
Subject: [ruby-cvs:20294] Ruby:r13057 (ruby_1_8_5): * hash.c (rb_hash_delete_key): delete the entry without calling block.

shyouhei	2007-08-16 08:45:25 +0900 (Thu, 16 Aug 2007)

  New Revision: 13057

  Modified files:
    branches/ruby_1_8_5/ChangeLog
    branches/ruby_1_8_5/hash.c
    branches/ruby_1_8_5/test/ruby/test_hash.rb
    branches/ruby_1_8_5/version.h

  Log:
    * hash.c (rb_hash_delete_key): delete the entry without calling block.
    * hash.c (rb_hash_shift): should consider iter_lev too.
    * hash.c (delete_if_i): use rb_hash_delete_key() so that the block
      isn't called twice.  [ruby-core:11556]


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_5/test/ruby/test_hash.rb?r1=13057&r2=13056
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_5/hash.c?r1=13057&r2=13056
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_5/version.h?r1=13057&r2=13056
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_5/ChangeLog?r1=13057&r2=13056


[前][次][番号順一覧][スレッド一覧][生データ]