From: Ryan Davis Date: 2012-01-20T07:32:31+09:00 Subject: Re: Beginner Questions On Jan 19, 2012, at 14:22 , Robert Klemme wrote: > Another remark: $dives.to_yaml(f) is potentially more efficient since > output is directly written to the stream whereas the form with #write > first creates the complete string in memory before writing it. Huh. I didn't know you could do that. Normally I use YAML.dump and pass the IO in.