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

  • Thread starter why the lucky stiff
  • Start date
W

why the lucky stiff

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

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

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
 
S

sds

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,785
Messages
2,569,624
Members
45,318
Latest member
LuisWestma

Latest Threads

Top