home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sources / bugs / 342 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.9 KB

  1. Xref: sparky comp.sources.bugs:342 news.software.b:3883
  2. Path: sparky!uunet!news.mentorg.com!sdl!plts!s4mjs!bobsbox.rent.com!rutgers!rochester!cornell!batcomputer!rpi!zaphod.mps.ohio-state.edu!caen!saimiri.primate.wisc.edu!ames!haven.umd.edu!mimsy!nmrdc1!frmug!archer
  3. From: archer@frmug.fr.mugnet.org (Vincent Archer)
  4. Newsgroups: comp.sources.bugs,news.software.b
  5. Subject: Re: C-news unofficial patch: freeze news batches
  6. Message-ID: <1993Jan27.214307.8215@frmug.fr.mugnet.org>
  7. Date: 27 Jan 93 21:43:07 GMT
  8. References: <fYnlXJc@quack.sac.ca.us> <C1I4Mu.Hn7@zoo.toronto.edu>
  9. Organization: Minix User Group France
  10. Lines: 30
  11.  
  12. In article <C1I4Mu.Hn7@zoo.toronto.edu> henry@zoo.toronto.edu (Henry Spencer) writes:
  13. >The new GNU "gzip" program is supposed to do considerably better.  (It may
  14. >also be faster; "freeze" is really slow,...
  15.  
  16. It is. A sample over 130K news batches from comp.windows.x showed that
  17. freeze and compress really lose.
  18.  
  19. The batches are compressed to about 58K, frozen to 40K, and "gzip"-ped
  20. to 34K. While the gain is not as much as between compress and freeze,
  21. it is still appreciable.
  22.  
  23. The CPU needed is somewhat between compress and freeze. It would be
  24. really hard to beat the simplicity of compress. :-)
  25.  
  26. >... I'm debating how to handle this in C News; I
  27. >really, really do not want to have to maintain an ever-growing list of
  28. >magic numbers inside newsspool.
  29.  
  30. Simple. Revert to the old B-news scheme of things: If it begins with a
  31. #! something, then pipe the remainder thru the filter
  32. /usr/lib/newsbin/unbatch/something to produce the newsbatch before
  33. calling relaynews. Then users can add without worrying unbatching methods,
  34. just like they can add batching methods now.
  35.  
  36. (To speed up the thing, newsspool should store batches as .t files if they
  37.  are text or #! rnews batches, and .x - for example - if they begin with
  38.  an unbatching method header)
  39. -- 
  40.     Vincent Archer            Email:    archer@frmug.fr.mugnet.org
  41. Reality is for those who can't face Science Fiction.
  42.