massive rn speedup code posted to net.sources

David Sherman dave at lsuc.UUCP
Wed Mar 20 12:22:34 AEST 1985


In article <1382 at utah-gr.UUCP> thomas at utah-gr.UUCP (Spencer W. Thomas) writes:
||In article <516 at lsuc.UUCP> dave at lsuc.UUCP (David Sherman) writes:
||>I mentioned in a previous posting that I had implemented buffered
||>stdout in rn, and it made a big difference in output at high speed.
||
||I might point out that, unless Larry deliberately programmed around it,
||you get buffered stdout "for free" in 4.1bsd and above.

Well, mebbe so, but the basic output call in art.c, when spitting
out the article, is putchar, and there were no fflush's in the
source before I put some in. If 4.1 buffered stdout (as opposed
to buffering during printfs, which perhaps it does), I
don't think rn would work under it.

Dave Sherman
-- 
{utzoo pesnta nrcaero utcs hcr}!lsuc!dave
{allegra decvax ihnp4 linus}!utcsri!lsuc!dave



More information about the Comp.unix mailing list