Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Nov 2001 01:27:17 -0800 (PST)
From:      Alfred Perlstein <alfred@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.bin/head head.c
Message-ID:  <200111020927.fA29RHm01270@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
alfred      2001/11/02 01:27:17 PST

  Modified files:
    usr.bin/head         head.c 
  Log:
  In order to perform faster when doing "head -n", use a pair of
  fgetln/fwrite instead of getc/putchar, this seems about five times
  faster.
  
  Revision  Changes    Path
  1.12      +8 -7      src/usr.bin/head/head.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111020927.fA29RHm01270>