Re: Compressing sequences
- Posted by Ralf Nieuwenhuijsen <nieuwen at XS4ALL.NL> Nov 23, 1998
- 466 views
.>My original file (saved using prints) was about 60,000 bytes. The one >saved using EDOM was about 24,000 bytes. However ... if I used PKZip to >zip my original, print'ed set of sequences, it became ... 622 bytes! >Yikes! Would there be a way to save and load zipped sequences 'on the >fly', ie, save_zipped_seq () / load_zipped_seq? Or is this just a dumb >idea? EDOM stores sequences efficiently, however only provides an interface for encryption and compression of data. I will not give it a shot, but there are many docs out there that describe the structure of a zip file, and the method used. I do suspect it will be slow. Maybe some of the ASM guru's out there, could make a machine routine that 1) opens files within the zip 2) allow normal i/o commands to be executed upon the zip. Together with a wrapper, the actual coder doesnt even have to use different routines, simply open the file like open( "myzip.zip/myfile.dat" , "rz" ) -- Read zipped file But off course this is only speculation. You could off course use one of the many free DLL's under WIN32. Good luck, Ralf