From owner-freebsd-bugs Tue May 5 15:36:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA27702 for freebsd-bugs-outgoing; Tue, 5 May 1998 15:36:38 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from mail.cs.tu-berlin.de (root@mail.cs.tu-berlin.de [130.149.17.13]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA27674 for ; Tue, 5 May 1998 15:36:28 -0700 (PDT) (envelope-from wosch@cs.tu-berlin.de) Received: from panke.panke.de (anonymous232.ppp.cs.tu-berlin.de [130.149.17.232]) by mail.cs.tu-berlin.de (8.8.8/8.8.8) with ESMTP id AAA27586; Wed, 6 May 1998 00:27:46 +0200 (MET DST) Received: (from wosch@localhost) by panke.panke.de (8.8.5/8.6.12) id XAA00482; Tue, 5 May 1998 23:07:05 +0200 (MET DST) To: woods@zeus.leitch.com (Greg A. Woods) Cc: "Jordan K. Hubbard" , Randall Hopper , Poul-Henning Kamp , freebsd-bugs@FreeBSD.ORG Subject: Re: bin/5296 References: <199805041546.LAA16661@brain.zeus.leitch.com> <6821.894313171@time.cdrom.com> <199805042253.SAA21201@brain.zeus.leitch.com> From: Wolfram Schneider Date: 05 May 1998 23:07:04 +0200 In-Reply-To: woods@zeus.leitch.com's message of Mon, 4 May 1998 18:53:09 -0400 (EDT) Message-ID: Lines: 17 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org woods@zeus.leitch.com (Greg A. Woods) writes: > I think a full-text search capability for PRs would help reduce the > number of duplicates too. (glimpse and the WWW tools available for it > should do fine, though the doing the right interface would probably take > some development effort -- simple grep searches would probably require > too much horsepower) There are currently ~6000 PRs. A linear full text search require ~30 seconds on disk (~35MB) and 7 seconds if cached in memory. Glimpse would not help. Glimpse put the 6000 filenames into 256 blocks, thats 24 files per block. A search for a word which exists once require to open (in average) 24 files. A search for a word which exists in 10 PRs require to open ~200 files ;-( -- Wolfram Schneider http://www.freebsd.org/~wosch/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message