[前][次][番号順一覧][スレッド一覧]

ruby-changes:14545

From: naruse <ko1@a...>
Date: Sat, 23 Jan 2010 23:16:21 +0900 (JST)
Subject: [ruby-changes:14545] Ruby:r26384 (trunk): * lib/rdoc/generator/html.rb (RDoc::Generator::HTML#gen_into):

naruse	2010-01-23 23:16:04 +0900 (Sat, 23 Jan 2010)

  New Revision: 26384

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

  Log:
    * lib/rdoc/generator/html.rb (RDoc::Generator::HTML#gen_into):
      make the rdoc(generating html) run faster and use less memory.
      patch by Tetsu Soh [ruby-core:27656]

  Modified files:
    trunk/ChangeLog
    trunk/lib/rdoc/generator/html.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 26383)
+++ ChangeLog	(revision 26384)
@@ -1,3 +1,9 @@
+Sat Jan 23 23:12:56 2010  NARUSE, Yui  <naruse@r...>
+
+	* lib/rdoc/generator/html.rb (RDoc::Generator::HTML#gen_into):
+	  make the rdoc(generating html) run faster and use less memory.
+	  patch by Tetsu Soh [ruby-core:27656]
+
 Sat Jan 23 19:54:48 2010  Masaki Suketa <masaki.suketa@n...>
 
 	* ext/win32ole/win32ole.c: add WIN32OLE.ole_initialize,
Index: lib/rdoc/generator/html.rb
===================================================================
--- lib/rdoc/generator/html.rb	(revision 26383)
+++ lib/rdoc/generator/html.rb	(revision 26384)
@@ -231,6 +231,10 @@
       open op_file, 'w' do |io|
         item.write_on io, file_list, class_list, method_list
       end
+
+      file_list.clear
+      class_list.clear
+      method_list.clear
     end
   end
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]