[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS: cvs.openbsd.org: src



Michael Shuldman (michaels_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org) wrote:
: CVSROOT:	/cvs
: Module name:	src
: Changes by:	michaels_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	96/09/15 10:50:41

: Modified files:
: 	usr.bin/locate : Makefile Makefile.inc 
: 	usr.bin/locate/bigram: Makefile locate.bigram.c 
: 	usr.bin/locate/code: Makefile locate.code.c 
: 	usr.bin/locate/locate: Makefile concatdb.sh locate.1 locate.c 
: 	                       locate.h locate.updatedb.8 mklocatedb.sh 
: 	                       pathnames.h updatedb.sh 
: Added files:
: 	usr.bin/locate/locate: fastfind.c util.c 

: Log message:
: Blind update of wosch_(_at_)_FreeBSD's code:

: optimized search algorithm
: faster IO due mmap(2) [-m | -s]
: better error check for damaged databases
: support for databases in network byte order (SunOS/sparc)
: optional case insensitve search [-i]
: optional multiple databases
: optional multiple pattern
: new enviroment variable LOCATE_PATH for database(s)
: [-S] print some statistic about the database
: [-l number] limit output to number file names
: [-c] suppress normal output; instead print a count of matching file names
: fix prototypes/forward declarations/return type

don't know if this is what you've done - this is from FreeBSD's cvs-all of
today:

wosch       96/09/14 13:15:51

  Modified:    usr.bin/locate/bigram  locate.bigram.c
  Log:
  remove unnecessary boundary check, 2x faster
  code cleanup
  
  Revision  Changes    Path
  1.7       +14 -19    src/usr.bin/locate/bigram/locate.bigram.c

t

--
  thomas graichen    graichen_(_at_)_mail_(_dot_)_physik_(_dot_)_fu-berlin_(_dot_)_de    graichen_(_at_)_FreeBSD_(_dot_)_org

  perfection is reached, not when there is no longer anything to add, but when
      there is no longer anything to take away    antoine de saint-exupery


Visit your host, monkey.org