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.