RE: [Madeleine-devel] Before the release of 0.7
Status: Beta
Brought to you by:
ndrs
From: Stephen S. <ste...@ma...> - 2004-06-28 09:02:11
|
Hi again, > > Stephen: > > The Deserialize.load method, should I add special support=20 > > there for the > > ZMarshal compressed snapshots, or will it fall back to the supplied > > marshaller safely enough? > > Other than that, is automatic.rb ready for a new release,=20 > or are there > > other updates you want to do first? YAML stuff? I added support for zlib format, it's in CVS. This is so we can = continue to autodetect the format. The only thing is, it's not really possible to = do detection of what is inside the compressed snapshot - so if the correct marshaller is not specified and we detect a compressed file, I assume it = is compressed Marshal format. I have added tests for the various combinations of reading and writing snapshots with different marshallers, and it all seems to work nicely, = even changing the marshaller on the fly works. In one of my applications, my snapshot file has gone from 827k to 25k by using ZMarshal - this is very helpful! Stephen. |