home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / compress / 2862 < prev    next >
Encoding:
Text File  |  1992-07-29  |  2.0 KB  |  47 lines

  1. Newsgroups: comp.compression
  2. Path: sparky!uunet!darwin.sura.net!Sirius.dfn.de!news.uni-stuttgart.de!news.uni-stuttgart.de.!andreas
  3. From: andreas@greif.philosophie.uni-stuttgart.de (Andreas Eisele)
  4. Subject: Appending to a compressed file
  5. Message-ID: <ANDREAS.92Jul29113209@greif.philosophie.uni-stuttgart.de>
  6. Lines: 34
  7. Sender: news@news.uni-stuttgart.de (USENET News System)
  8. Reply-To: andreas@adler.philosophie.uni-stuttgart.de
  9. Organization: IMS, University of Stuttgart, Germany
  10. Date: Wed, 29 Jul 1992 09:23:19 GMT
  11. Lines: 34
  12.  
  13. Is there a way to append data to a large compressed (*.Z) file that is
  14. more efficient than uncompressing+appending+recompressing?
  15.  
  16. I don't know much about compression techniques, but I think ist should
  17. be doable in at least two ways:
  18.  
  19. (1) By scanning the compressed file, a program should be able to
  20. compute the state the compressor was at the end of the original
  21. compression. It could then continue in this state to compress the
  22. appended data. This approach would at least prevent to re-write the
  23. compressed file.
  24.  
  25. (2) In order to avoid re-scanning the compressed file, it might make
  26. sense to store the state of the compressor explicitly in an additional
  27. file. Of course this would decrease the effect of the compression, but
  28. might still be worthwile (esp. if the result, i.e. the compressed file
  29. w/o the state information is to be transfered).
  30.  
  31. Has anyone in the compressing community already thought about that?
  32. Is there perhaps software available, already?
  33.  
  34. Thank you for any information,
  35.  
  36. Andreas Eisele
  37.  
  38. P.S. Please reply by e-mail, I will summarize if there is enough
  39. interest.
  40. --
  41. +--------------------------------------------------------------------------+
  42. |Andreas Eisele                Institut fuer maschinelle Sprachverarbeitung|
  43. |Tel.:    +49-711-121-1357     Universitaet Stuttgart, Azenbergstrasse 12  |
  44. |Fax.:    +49-711-121-1366   D-7000 Stuttgart 1,  Fed. Rep. of Germany     |
  45. |Internet: andreas@adler.philosophie.uni-stuttgart.de    (NeXTMail ok)     |
  46. +--------------------------------------------------------------------------+
  47.