From: Eric Hodel Date: 2010-01-22T06:17:18+09:00 Subject: [ruby-core:27667] Re: A patch to rdoc On Jan 21, 2010, at 02:36, Tetsu Soh wrote: > I made a patch to rdoc -- just 3 lines -- which makes the rdoc(generating html) run faster and use less memory. > I listed the test result in the below. > > (Tested on 32 bits Linux, Ruby1.9.2-trunk, 4GB memory, Intel Quad 2.6GHz) > Using rdoc to process whole lib directory: > original : 15 minutes, 1.3GB memory > patched: 7 minutes, 65MB memory The latest RDoc no longer has the HTML generator at all. I fixed this memory issue by deleting the file. The Darkfish generator that replaced it has approximately the same memory and time footprint as your patch compared to the HTML generator but with significantly less code to maintain.