summaryrefslogtreecommitdiffstats
path: root/usr.bin/locate/bigram
Commit message (Collapse)AuthorAgeFilesLines
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* <bsd.prog.mk> has always included ../Makefile.inc, and there are nobde1997-12-171-1/+1
| | | | complications involving .PATH or dependencies, so don't include it here.
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* 8-Bit character support.wosch1996-10-131-3/+4
| | | | | | | | | | Old locate(1) programs still works with the new database format, print some garbage for 8 bit characters, but don't core (maybe except char 30). 7-Bit Puritan should not notice any difference. Same speed, Same database size if the database contain only ASCII characters. Reviewed by: ache
* remove unnecessary boundary check, 2x fasterwosch1996-09-141-18/+13
| | | | code cleanup
* NULL -> '\0'wosch1996-08-311-5/+5
| | | | Submitted by: Bruce, see also c-faq 5.6 and 5.9
* delete unused #include <string.h>peter1996-08-301-2/+1
|
* code cleanupwosch1996-08-221-26/+23
|
* bigramwosch1996-08-142-12/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bigram does not remove newline at end of filename. This break particulary the bigram algorithm and /var/db/locate.database grow up 15 %. Bigram does not check for characters outside 32-127. The bigram output is silly and need ~1/2 CPU time of database rebuilding. old: locate.bigram < $filelist | sort | uniq -c | sort -nr ^^^^^^^^^^^^^^ this can easy made bigram new: bigram < $filelist | sort -nr code Code does not check for char 31. Use a lookup array instead a function. 3 x faster. updatedb rewritten sync with bigram changes read config file /etc/locate.rc if exists submitted by: guido@gvr.win.tue.nl (Guido van Rooij) concatdb - concatenate locate databases mklocatedb - build locate database
* Remove trailing whitespace.rgrimes1995-05-301-2/+2
|
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-272-0/+91
OpenPOWER on IntegriCloud