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: Sun, 09 Nov 2008 17:43:55 -0500 Message-ID: <871vxkfrkk.fsf@cyd.mit.edu> References: <200805140351.m4E3pQuE004549@sallyv1.ics.uci.edu> <200805141652.m4EGqikr018644@sallyv1.ics.uci.edu> <200805151529.m4FFTlF1004684@sallyv1.ics.uci.edu> <482D8435.6060407@gnu.org> <20081030101819.GA15223@orion.lan> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1226270643 18468 80.91.229.12 (9 Nov 2008 22:44:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Nov 2008 22:44:03 +0000 (UTC) Cc: rms@gnu.org, emanuele.giaquinta@gmail.com, 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 Sun Nov 09 23:45:05 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 1KzJ1i-0007OZ-Kd for ged-emacs-devel@m.gmane.org; Sun, 09 Nov 2008 23:45:02 +0100 Original-Received: from localhost ([127.0.0.1]:41714 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzJ0a-0002lT-Ox for ged-emacs-devel@m.gmane.org; Sun, 09 Nov 2008 17:43:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KzJ0W-0002jO-Ot for emacs-devel@gnu.org; Sun, 09 Nov 2008 17:43:48 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KzJ0U-0002fr-Oa for emacs-devel@gnu.org; Sun, 09 Nov 2008 17:43:48 -0500 Original-Received: from [199.232.76.173] (port=43580 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzJ0U-0002fb-L7 for emacs-devel@gnu.org; Sun, 09 Nov 2008 17:43:46 -0500 Original-Received: from cyd.mit.edu ([18.115.2.24]:48321) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KzJ0S-00059M-Lq; Sun, 09 Nov 2008 17:43:44 -0500 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id EFF1857E04D; Sun, 9 Nov 2008 17:43:55 -0500 (EST) In-Reply-To: (Kenichi Handa's message of "Fri, 31 Oct 2008 14:29:28 +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:105512 Archived-At: Kenichi Handa writes: > (2) Just before dumping, clear-charset-maps is called. This > function sets all char-tables built in (1) (except for > Vchar_unified_charset_table) to nil. Then set > Vchar_unify_table to Vchar_unified_charset_table, and > set Vchar_unified_charset_table to nil. > > Then, garbage-collect is called. After that, the living > char-table is Vchar_unify_table only, and the contents > is not that big because it maps upper area characters to > charset, and each charset has linear upper area, thus > most succeeding charaters have the same value. > > (3) When the dumped Emacs runs, at the time of > decoding/encoding charsets that are unified as above, by > checking if the value of Vchar_unify_table for a > character is symbol or not, Emacs knows whether it has > to load the mapping table again or not. I was looking through charset.c and character.c, and it seems to me that Vchar_unify_table is not used by anything. Its contents are altered at several placed in the code, but it looks like it is never consulted for anything. What am I missing?