|
I guess I is a programmer. I think I need to learn English. I was converting a save file to a physical file by overrides, then compressing it. Next I decompressed it to another physical file, then wrote this physical file to a save file with overrides. I tried to go directly from a save file with the compression routine, but when I tried to take the compressed file to a save file I got an error. The compression routine will write to a save file. So I was trying to figure out how to do it. if the compressor is learning, is it for the one compression or will it save the learned compression routine for next time? I use spell checker this time. -----Original Message----- From: mi400-admin@midrange.com [mailto:mi400-admin@midrange.com]On Behalf Of Leif Svalgaard Sent: Wednesday, July 03, 2002 10:50 PM To: mi400@midrange.com Subject: Re: [MI400] Writing to a save file From: Harry Williams <planesmart@teleteam.net> > Thought the compression is impressive, the time it takes is a little long. ===>maybe you mean "Though"? > So I was trying to go ftom a save file directly from > save file to compress file, back to save file. ===>I'm not clear on what you want to do here. Have a small problem with sentence structure... > > By the way, why does the decompression take 1/3 the time as compression? ===> this is not unusual. During compression, the compressor is "learning" about the file which takes extra time. ===> bottom line: you write to a save file as to any other file, the only real problem is that you have to compute a checksum for each block and an overall checksum for the whole file. Chapter 27 of my eBook goes into some detail about this. _______________________________________________ This is the MI Programming on the AS400 / iSeries (MI400) mailing list To post a message email: MI400@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/mi400 or email: MI400-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/mi400.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.