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

ruby-cvs:21177

From: why ruby-lang.org
Date: Fri, 16 Nov 2007 02:54:33 +0900 (JST)
Subject: [ruby-cvs:21177] Ruby:r13940 (trunk): * lib/yaml.rb (quick_emit): use combination of object_id and hash to

why	2007-11-16 02:54:32 +0900 (Fri, 16 Nov 2007)

  New Revision: 13940

  Modified files:
    trunk/ChangeLog
    trunk/lib/yaml/rubytypes.rb
    trunk/lib/yaml.rb
    trunk/test/yaml/test_yaml.rb

  Log:
    * lib/yaml.rb (quick_emit): use combination of object_id and hash to
      identify repeated object references, since GC will reuse memory of
    objects during output of YAML. [ruby-Bugs-8548] [ruby-Bugs-3698]


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=13940&r2=13939
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/test/yaml/test_yaml.rb?r1=13940&r2=13939
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/lib/yaml/rubytypes.rb?r1=13940&r2=13939
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/lib/yaml.rb?r1=13940&r2=13939


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