From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: size of emacs executable after unicode merge Date: Thu, 27 Nov 2008 11:31:37 -0500 Message-ID: References: <200805151529.m4FFTlF1004684@sallyv1.ics.uci.edu> <482D8435.6060407@gnu.org> <20081030101819.GA15223@orion.lan> <200810311507.m9VF7EAl022755@mothra.ics.uci.edu> <873ai7t7fx.fsf@cyd.mit.edu> <87iqqwk672.fsf@cyd.mit.edu> <873ahym8ji.fsf@cyd.mit.edu> <87r65flh5n.fsf@cyd.mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1227803571 8535 80.91.229.12 (27 Nov 2008 16:32:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Nov 2008 16:32:51 +0000 (UTC) Cc: rms@gnu.org, emanuele.giaquinta@gmail.com, Chong Yidong , emacs-devel@gnu.org, dann@ics.uci.edu, evilborisnet@netscape.net, jasonr@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 27 17:33:53 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L5joO-0003fK-KW for ged-emacs-devel@m.gmane.org; Thu, 27 Nov 2008 17:33:52 +0100 Original-Received: from localhost ([127.0.0.1]:48496 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L5jnE-0008Cr-Ut for ged-emacs-devel@m.gmane.org; Thu, 27 Nov 2008 11:32:40 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L5jn4-00089B-Mx for emacs-devel@gnu.org; Thu, 27 Nov 2008 11:32:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L5jn3-00088R-1x for emacs-devel@gnu.org; Thu, 27 Nov 2008 11:32:30 -0500 Original-Received: from [199.232.76.173] (port=51070 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L5jn2-00088O-Uu for emacs-devel@gnu.org; Thu, 27 Nov 2008 11:32:28 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:44400) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L5jn0-0000qR-8G; Thu, 27 Nov 2008 11:32:26 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtsEABRaLklMCrX1/2dsb2JhbACBbdBDgn2BJA X-IronPort-AV: E=Sophos;i="4.33,676,1220241600"; d="scan'208";a="30364956" Original-Received: from 76-10-181-245.dsl.teksavvy.com (HELO pastel.home) ([76.10.181.245]) by ironport2-out.teksavvy.com with ESMTP; 27 Nov 2008 11:32:22 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 0181584C0; Thu, 27 Nov 2008 11:31:37 -0500 (EST) In-Reply-To: (Kenichi Handa's message of "Thu, 27 Nov 2008 20:20:21 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:106242 Archived-At: > After taking over Chong's experiment, I could reduce the > size of Emacs executables about 7M bytes. About 4M bytes > were actually because of charset mapping tables, and it > could be reduced by setting up C structure temp_charset_work > (see charset.c for the detail) instead of making many Lisp > objects (char-table and vector). Another 3M bytes were > because of big standard category table. It could be reduced > by hashing the table entries (see hash_get_category_set in > category.c for the detail). > As a result, now the executable is 10,671,313 bytes on > GNU/Linux. It's still 1.6M bytes larger than Emacs 22, but > I'm not sure it's worth making more effort to reduce it. That's great to hear. 1.6MB of growth is not a feature, but I guess we can live with it for now. Stefan