From owner-svn-src-projects@FreeBSD.ORG  Wed Dec 10 21:19:14 2014
Return-Path: <owner-svn-src-projects@FreeBSD.ORG>
Delivered-To: svn-src-projects@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id CA697CD7;
 Wed, 10 Dec 2014 21:19:14 +0000 (UTC)
Received: from mail-pa0-x22b.google.com (mail-pa0-x22b.google.com
 [IPv6:2607:f8b0:400e:c03::22b])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 902023E7;
 Wed, 10 Dec 2014 21:19:14 +0000 (UTC)
Received: by mail-pa0-f43.google.com with SMTP id kx10so3589501pab.30
 for <multiple recipients>; Wed, 10 Dec 2014 13:19:14 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=content-type:mime-version:subject:from:in-reply-to:date:cc
 :message-id:references:to;
 bh=TfFUww4YaZT6B0FuTtT3ns3k6b5Omw2nGfnC+4GUuHo=;
 b=v1WmtD5DeDBiR1Vw2k0hVNh0cJV8ZPoPsQBXlsEYS75VbijH7LVAqhLZe7Dx9dQicx
 uXUdghceAWGym4TYIM87bnLy+gaHE3WQB/mpAWFW2z8royUy5Atd974ymlxc3Xu2e3wo
 mcT0vbGozVuYDfVcxrK+VBcihPPxDZtgIvfJasjc7OeZzv1Q8pFnf1/jNuqAq43h+oPD
 Ok2uL9OOWRnPGhtVMuNHrc4Zxkc1r2kAD+r5xJgQrVQynnSjo/sVnDJhMjpsgACLjqn9
 BYdbzr7fqkb9lo1XrU5utO1yK0uvUrmHsZL++clMfb5S5kEWV6vqTrZ+5QE0zW6uvw0u
 tXzQ==
X-Received: by 10.70.33.106 with SMTP id q10mr10759319pdi.120.1418246354111;
 Wed, 10 Dec 2014 13:19:14 -0800 (PST)
Received: from [192.168.242.58] (c-67-182-131-225.hsd1.wa.comcast.net.
 [67.182.131.225])
 by mx.google.com with ESMTPSA id oy7sm4979630pbc.88.2014.12.10.13.19.12
 for <multiple recipients>
 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
 Wed, 10 Dec 2014 13:19:13 -0800 (PST)
Content-Type: multipart/signed;
 boundary="Apple-Mail=_5C7FD595-2BE0-4D56-9967-021EF5C907DB";
 protocol="application/pgp-signature"; micalg=pgp-sha512
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
Subject: Re: svn commit: r275601 - projects/building-blocks
From: Garrett Cooper <yaneurabeya@gmail.com>
In-Reply-To: <20141210210307.GX25139@funkthat.com>
Date: Wed, 10 Dec 2014 13:19:10 -0800
Message-Id: <FDAF179A-B085-4EE2-AE58-445A2B64071C@gmail.com>
References: <201412080743.sB87h3j9044019@svn.freebsd.org>
 <1418054094.1064.147.camel@revolution.hippie.lan>
 <5485D8B5.90604@FreeBSD.org> <20141210210307.GX25139@funkthat.com>
To: John-Mark Gurney <jmg@funkthat.com>
X-Mailer: Apple Mail (2.1878.6)
Cc: Mark Peek <mp@freebsd.org>, svn-src-projects@freebsd.org,
 src-committers@freebsd.org, Garrett Cooper <ngie@freebsd.org>,
 Ian Lepore <ian@freebsd.org>
X-BeenThere: svn-src-projects@freebsd.org
X-Mailman-Version: 2.1.18-1
Precedence: list
List-Id: "SVN commit messages for the src &quot; projects&quot;
 tree" <svn-src-projects.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-projects>, 
 <mailto:svn-src-projects-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-projects/>
List-Post: <mailto:svn-src-projects@freebsd.org>
List-Help: <mailto:svn-src-projects-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-projects>, 
 <mailto:svn-src-projects-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 10 Dec 2014 21:19:14 -0000


--Apple-Mail=_5C7FD595-2BE0-4D56-9967-021EF5C907DB
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

On Dec 10, 2014, at 13:03, John-Mark Gurney <jmg@funkthat.com> wrote:

> Mark Peek wrote this message on Mon, Dec 08, 2014 at 08:58 -0800:
>> On 12/8/14 7:54 AM, Ian Lepore wrote:
>>> On Mon, 2014-12-08 at 07:43 +0000, Garrett Cooper wrote:
>>>> Author: ngie
>>>> Date: Mon Dec  8 07:43:02 2014
>>>> New Revision: 275601
>>>> URL: https://svnweb.freebsd.org/changeset/base/275601
>>>>=20
>>>> Log:
>>>>  - Document why usr.bin/vi needs to be built as part of =
bootstrap-tools
>>>> ...snip...
>>>=20
>>> Is there any chance someone who understands vi could evaluate what =
it's
>>> being used for and perhaps eliminate it?  I know just enough about =
vi to
>>> get out of it if I accidentally get in.
>>>=20
>>> When I looked into this a few days ago it appears to be using it to =
sort
>>> the data before compiling (an optimization that problably hasn't =
been
>>> important to do since the 90s).  Could another existing build tool =
such
>>> as awk do the job?
>>=20
>> My reading of that code agrees with yours in that it is using 'ex' to=20=

>> prioritize some terminal entries in the termcap file. However, it is =
then=20
>> hashed into a berkeleydb via cap_mkdb which should render the initial=20=

>> prioritization useless. Rather than rewriting it I would suggest =
completely=20
>> removing the reordering and the ex dependency.
>=20
> There was some dicussion about removing some of the various databases,
> and having commonly used entries at the top would help in this case..

I was looking at Fedora 20=92s termcap just the other day, and I was =
surprised at the brevity in the file (only a couple entries for =
=93xterm=94). They also have it split into multiple files instead of =
just one file too (/usr/share/vte/termcap-0.0/xterm). Maybe this would =
be a good move going forward (or not=85???)?

Why should the .db files be removed? I think reducing the bloat from the =
files due to overestimated bucket sizes would be a good first start =
instead of just removing them altogether (I noticed that termcap.db has =
the same bloat problem services.db has).

Thanks!

--Apple-Mail=_5C7FD595-2BE0-4D56-9967-021EF5C907DB
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJUiLjOAAoJEMZr5QU6S73eBdUIAI6M8Pp9cO6j4W9JVgHSLoV3
JrDR+fgsiwVMpx1xLCaF/9rVcd4ITE/e7MJAX0rowubaMMM148ZCrwORY4WU9zPt
mOfRhEBq8LZ4CWmOyfj7lRbyWcyB3N997JcS2Q5j6za9XwXbRcRksFCJq429fJZZ
4x9Q2BBT4w3o6FTNheN0/kFr8dDJLqY3FHn2xFN4krzJMCDZnIOQnzPgkmEV04II
6s6kBeFgzc6lXfkEHUGABdTwUwE1llVTeOq4JzH0J9Vkl/g9QaS45IrZFpcOph5q
fYwOFxH+35FraFN9jNOc17h9XXTWViNbYbd0v33RctqLxQd2n3seb2rMGlxhaF0=
=w2aU
-----END PGP SIGNATURE-----

--Apple-Mail=_5C7FD595-2BE0-4D56-9967-021EF5C907DB--