[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[ANN] Syck 0.55 -- Object loading, memory leaks

why the lucky stiff

5/19/2005 6:33:00 AM

Syck is, at present, the de facto YAML library for Ruby.
<http://whytheluckystiff.net...

YAML is a serialization language. Hopefully readable. Sensible to the
parser in some eyeballs. <http://yam...

Syck 0.55 patches some memory leaks and parse errors. Loading of
objects is now much smoother. Support for using your own
yaml_initialize or yaml_new methods. (See lib/yaml/rubytypes.rb for
examples.) I'd say typing is done at this point.

A bit more debugging and I will merge with Ruby CVS.

_why


1 Answer

sds

5/24/2005 8:29:00 AM

0

Ok, I installed Syck 0.55...

p YAML::load(YAML::dump("a"*4097))

"aaaaaaa[lots more a's]aaaaaaaaaa--- a"

I don't think the "--- " should be there...

There seems to be a problem with any strings 4095 or more in length.

Regards,
Stephen Sykes