Re: [PATCH] Remove any optional headers
- To: mutt-dev@xxxxxxxx
- Subject: Re: [PATCH] Remove any optional headers
- From: Kyle Wheeler <kyle-mutt-dev@xxxxxxxxxxxxxx>
- Date: Tue, 16 Dec 2008 15:55:50 -0600
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=date :from:to:subject:message-id:references:mime-version:content-type :in-reply-to; s=default; bh=e04cEe3e/sxGEg4657XX4PC/oyU=; b=GCek dY8l1bYP85PhSEJ4CT8NCiNWIUup0h4rzBySviW2rmTgf1LsIvhaXEG1bk8vzUcf 7N8E3lEZB1mjQNIrYavdLEK/xtFgmAvm7L4xwLoxTDZ8EhjwBpmo6qQIQSP4RvJP qgTxHF69JdWnin3JoMbNwu0Vk3yU8Xrk+qbj1dU=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=KUZZXwBNkUOwDpESYBqaV2XcZIgml4rcc3waNuKvGnVKVSorBeCkPoZunW8WZ4eX77PL2re3AEcDWVI+Fvu/rQHa57xl2MlO8fuu+ysO5AUCorNghf48YgHYhZk0qhS30pavMvrK+QiarhUyFYkfOhjbid35gFdLT3utwnAZqvQ=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:OpenPGP:User-Agent;
- In-reply-to: <f40ed4a28f4dc9d9728a.1229464122@xxxxxxxxxxxxxxxxx>
- List-post: <mailto:mutt-dev@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-dev"
- Mail-followup-to: mutt-dev@xxxxxxxx
- Openpgp: id=CA8E235E; url=http://www.memoryhole.net/~kyle/kyle-pgp.asc; preference=signencrypt
- References: <f40ed4a28f4dc9d9728a.1229464122@xxxxxxxxxxxxxxxxx>
- Sender: owner-mutt-dev@xxxxxxxx
- User-agent: Mutt/1.5.18 (2008-11-30)
On Tuesday, December 16 at 01:48 PM, quoth Erik Hovland:
Some headers provide no useful symbols to the file that includes it.
This means that the header is optional. And since it is optional, then
removing it saves time (less for cpp to process) and space.
As a guy whose done a little bit of cross-platform coding, sometimes
files that provide no useful symbols on one platform are critical on
another one. Sure, we can use autoconf to locate all the necessary
symbols to ensure that the #include tree is as small as possible on
every supported system, but it's usually just easier to include
headers that are sometimes necessary and sometimes not.
(that said, I realize it's also easy to get "header-creep" on a
heavily modified file, where the symbols a given header provided are
no longer used)
Anyway - how certain are you that those headers *never* provide useful
symbols?
~Kyle
--
Faith... must be enforced by reason. [...] When faith becomes blind it
dies.
-- Ghandi
Attachment:
pgp66NCT8V7gf.pgp
Description: PGP signature