From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: size of emacs executable after unicode merge Date: Thu, 27 Nov 2008 11:07:16 -0500 Message-ID: <87vdu9b1aj.fsf@cyd.mit.edu> 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 1227802062 3048 80.91.229.12 (27 Nov 2008 16:07:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Nov 2008 16:07:42 +0000 (UTC) Cc: rms@gnu.org, emanuele.giaquinta@gmail.com, emacs-devel@gnu.org, dann@ics.uci.edu, monnier@iro.umontreal.ca, 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:08:44 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 1L5jPp-0000vK-IT for ged-emacs-devel@m.gmane.org; Thu, 27 Nov 2008 17:08:29 +0100 Original-Received: from localhost ([127.0.0.1]:42078 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L5jOf-0005uI-Gx for ged-emacs-devel@m.gmane.org; Thu, 27 Nov 2008 11:07:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L5jOZ-0005rf-If for emacs-devel@gnu.org; Thu, 27 Nov 2008 11:07:11 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L5jOW-0005pN-Vn for emacs-devel@gnu.org; Thu, 27 Nov 2008 11:07:10 -0500 Original-Received: from [199.232.76.173] (port=57591 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L5jOW-0005p6-Qg for emacs-devel@gnu.org; Thu, 27 Nov 2008 11:07:08 -0500 Original-Received: from cyd.mit.edu ([18.115.2.24]:50586) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L5jOM-000529-LA; Thu, 27 Nov 2008 11:06:58 -0500 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id CDF3057E1D3; Thu, 27 Nov 2008 11:07:16 -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:106238 Archived-At: Kenichi Handa writes: > 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. Thank you. No problems here that I can see.