From: Darrin Thompson Date: 2001-11-03T02:34:12+09:00 Subject: [ruby-talk:24185] Re: Performance of Marshal.dump Yukihiro Matsumoto wrote: > > * try dumping to the files > > In 1.6.x, dumping to strings is REALLY slow. > Wow. I tried it. He's not kidding. From the profiler: Line time% time count 21 0% 0.00 1 output=File.new ('output', 'w') 22 3% 0.31 1 Marshal.dump(array, output) 23 0% 0.00 1 output.close The resulting file was 222K. :-D Darrin