mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4b18062808
commit
eaa9ca7653
2 changed files with 10 additions and 0 deletions
|
@ -231,6 +231,10 @@ class RDoc::Generator::HTML
|
|||
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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue