From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuele Giaquinta Newsgroups: gmane.emacs.devel Subject: Re: size of emacs executable after unicode merge Date: Thu, 30 Oct 2008 11:18:19 +0100 Message-ID: <20081030101819.GA15223@orion.lan> References: <200805140351.m4E3pQuE004549@sallyv1.ics.uci.edu> <200805141652.m4EGqikr018644@sallyv1.ics.uci.edu> <200805151529.m4FFTlF1004684@sallyv1.ics.uci.edu> <482D8435.6060407@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1225361931 20063 80.91.229.12 (30 Oct 2008 10:18:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Oct 2008 10:18:51 +0000 (UTC) Cc: dann@ics.uci.edu, emacs-devel@gnu.org, rms@gnu.org, evilborisnet@netscape.net, Jason Rumney To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 30 11:19:51 2008 connect(): Connection refused 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 1KvUcz-0001Cw-7F for ged-emacs-devel@m.gmane.org; Thu, 30 Oct 2008 11:19:45 +0100 Original-Received: from localhost ([127.0.0.1]:33344 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KvUbs-0003KN-LK for ged-emacs-devel@m.gmane.org; Thu, 30 Oct 2008 06:18:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KvUbk-0003Ih-JA for emacs-devel@gnu.org; Thu, 30 Oct 2008 06:18:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KvUbj-0003IH-IW for emacs-devel@gnu.org; Thu, 30 Oct 2008 06:18:27 -0400 Original-Received: from [199.232.76.173] (port=32858 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KvUbj-0003Hs-7c for emacs-devel@gnu.org; Thu, 30 Oct 2008 06:18:27 -0400 Original-Received: from fg-out-1718.google.com ([72.14.220.153]:34017) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KvUbi-0001up-Iv for emacs-devel@gnu.org; Thu, 30 Oct 2008 06:18:26 -0400 Original-Received: by fg-out-1718.google.com with SMTP id l26so467888fgb.30 for ; Thu, 30 Oct 2008 03:18:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to; bh=uzleKIKG8IsCTEbKh2C9mjD1z//8J6KFL+P8T2Ytd8w=; b=X+uVko/c9eYyfJgw+/3KyHHEIqSfP8h8dXenlfw/2nJ45Er5rz5s7j3IEWOot39Q0s UajY56NBU5SVus4sGb7uOqFhJHScaIgX3iC3DuLAy9gqSmA13s0VdejsQNKEsH/bcBeF m20beMIryq7wuhnLQVgSG97xHdtBsVObld2W4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to; b=IjKHW/s4DyF2KcNu5K2I6o9a2iyV3HfL19lg+996ECeJXmE2T8y2ZJRlewIusaMqsF W1XR2wlAcUU7j9ggNuEBgKcLjXn9YhOqTyQhbXZDm5/uN/7BlTm9mgXX++mZAgSp1L+J ZdWa1+Vxp46G6CSmKzHQG8dDxsghWwX/LsVbg= Original-Received: by 10.86.89.1 with SMTP id m1mr6841398fgb.66.1225361904262; Thu, 30 Oct 2008 03:18:24 -0700 (PDT) Original-Received: from localhost ( [79.2.28.24]) by mx.google.com with ESMTPS id 12sm1886391fgg.0.2008.10.30.03.18.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 30 Oct 2008 03:18:22 -0700 (PDT) Content-Disposition: inline In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:105168 Archived-At: On Sat, May 17, 2008 at 09:56:58AM +0900, Kenichi Handa wrote: > In article <482D8435.6060407@gnu.org>, Jason Rumney writes: > > > How big are the data structures holding all the unicode character info > > and translation tables for encodings? > > I have not yet calculated them. Each CJK charset defined by > a map need a char-table of encoding and a vector for > decoding. > > > At one point you said you wanted > > to make the unicode tables be loaded on demand but AFAIK they are > > currently dumped into the emacs executable. Could that account for a > > large proportion of the size increase? > > They are surely loaded on demand. And, at the end of the > dumping process, by calling clear-charset-maps, all loaded > maps are set to nil, and then garbage-collect is called. So > I think they are not included in the dumped Emacs. Perhaps > some other char-table is the culprit. Maybe > Vchar_unify_table. I must re-read src/charset.c. If I comment the load_charset_map_from_file call in unify_charset the data segment size is back to normal. Emanuele