Vnews speed improvement.
ka at spanky.UUCP
ka at spanky.UUCP
Tue Jun 7 11:44:56 AEST 1983
# I was impressed with stolaf!borman's code to speed up readnews.
# It decreased the time for vnews -x -n net.misc to find the first
# article from 80 seconds to 1.5 seconds. To install his changes
# into vnews, feed the body of this article into the shell. This
# is supposed to work even if you have made local changes, but the
# original visual.c will be moved to OLDvisual.c so you can do a
# diff to be sure. The call to growlin will be fixed if you haven't
# already changed it.
mv visual.c OLDvisual.c
ed OLDvisual.c <<\!
H
/^getnextart/kg
/^appfile/+22c
growline(icol);
More information about the Comp.sources.unix
mailing list