From: why the lucky stiff Date: 2005-05-13T22:38:45+09:00 Subject: Re: [BUG] Infinite loop on YAML.dump (Re: ruby-list:40801) H. Yamamoto (ocean@m2.ccsnet.ne.jp) wrote: > Kouhei Yanagita reported infinite loop bug on YAML.dump. > Please try attached file. This is fixed in Syck 0.5x. Can you try with Syck from CVS? > Nobody can predict which object needs anchor, so should "fixed size buffer & flush" be abondoned > and whole YAML document be held in memory? The new Syck scans the object's structure for anchored nodes before outputting. The fixed buffer and flush is still used, but there is never a need to rewind the buffer. Thankyou for the report! (Sorry, I've been travelling.) _why