From: George Moschovitis Date: 2004-11-02T17:33:50+09:00 Subject: Re: Use yaml to store Ruby arrays or hashes in the DB? trans. (T. Onoma) wrote: > On Monday 01 November 2004 10:20 pm, James Britt wrote: > | George Moschovitis wrote: > | > Hello everybody, > | > > | > the current version of NDB stores Array/Hash/GeneralRubyObjects using > | > the Marshal.dump/load methods. This is relatively fast but not portable. > | > Ie it is difficult to use the database from an application coded in > | > another language due to Marshal being Ruby specific. > | > > | > I could use yaml of course but I am wondering if this is fast enough. > | > | How can you store Ruby-specific objects (i.e., custom, user-defined > | classes) in a language-neutral way? > > You use YAML. yeap the latest version uses YAML instead of Marshal. Havent run any benchmarks yet. -g. -- www.navel.gr | tel: +30 2106898050 | fax: +30 2106898437 web appliction engine: http://www.navel.gr/nitro have fun: http://www.joy.gr