From owner-freebsd-current@FreeBSD.ORG Sun Aug 15 18:31:00 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2A7C106564A; Sun, 15 Aug 2010 18:31:00 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 61FED8FC17; Sun, 15 Aug 2010 18:31:00 +0000 (UTC) Received: by pvg4 with SMTP id 4so1943251pvg.13 for ; Sun, 15 Aug 2010 11:31:00 -0700 (PDT) Received: by 10.142.127.9 with SMTP id z9mr3711871wfc.124.1281895695955; Sun, 15 Aug 2010 11:08:15 -0700 (PDT) Received: from [192.168.43.181] (m4d0536d0.tmodns.net [208.54.5.77]) by mx.google.com with ESMTPS id 33sm10271435wad.6.2010.08.15.11.08.13 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 15 Aug 2010 11:08:14 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Tim Kientzle In-Reply-To: <3CF90102-4DD5-4A44-925B-C215AE5AB36A@solfertje.student.utwente.nl> Date: Sun, 15 Aug 2010 11:08:06 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <894C8953-7F2F-486F-8701-A3DFF65D7627@kientzle.com> References: <4C6505A4.9060203@FreeBSD.org> <20100813085235.GA16268@freebsd.org> <4C66C010.3040308@FreeBSD.org> <4C673F02.8000805@FreeBSD.org> <3CF90102-4DD5-4A44-925B-C215AE5AB36A@solfertje.student.utwente.nl> To: Alban Hertroys X-Mailer: Apple Mail (2.1081) Cc: delphij@freebsd.org, Doug Barton , core@freebsd.org, Gabor Kovesdan , current@freebsd.org Subject: Re: Official request: Please make GNU grep the default X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Aug 2010 18:31:00 -0000 On Aug 15, 2010, at 1:56 AM, Alban Hertroys wrote: > On 15 Aug 2010, at 3:12, Doug Barton wrote: >=20 >> (And before anyone bothers to reply saying "Use pkg_info -O for that" >> I'll save you the trouble. My version is from 10-20% faster. Not sure >> why, don't really care.) :) >=20 >=20 > Congrats for beating the performance of a(nother) utility in base, but = - regardless of whether you'd use it in that case - doesn't that just = indicate that pkg_info could use some performance improvements as well? http://libpkg.googlecode.com/ This is David Forsyth's GSoC project to build a standard library for managing the on-disk package database. His pkg_info implementation built on this library is in fact a lot faster than what's currently in the tree. He's starting to prototype pkg_delete and pkg_add on the new library but there's still a lot of work to do. Tim