From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thomas Lord Newsgroups: gmane.emacs.devel Subject: Re: size of emacs executable after unicode merge Date: Sun, 09 Nov 2008 17:55:57 -0800 Message-ID: <1226282157.5753.5.camel@dell-desktop.example.com> 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> <87y6zuluxt.fsf@cyd.mit.edu> <200811090629.mA96TuV4023397@mothra.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1226282592 26476 80.91.229.12 (10 Nov 2008 02:03:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Nov 2008 02:03:12 +0000 (UTC) Cc: rms@gnu.org, emanuele.giaquinta@gmail.com, handa@m17n.org, cyd@stupidchicken.com, emacs-devel@gnu.org, Dan Nicolaescu , evilborisnet@netscape.net, jasonr@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 10 03:03:59 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from mail-forward2.uio.no ([129.240.10.71]) by lo.gmane.org with esmtp (Exim 4.50) id 1KzM85-0006Ig-GS for ged-emacs-devel@m.gmane.org; Mon, 10 Nov 2008 03:03:49 +0100 Original-Received: from exim by mail-out2.uio.no with local-bsmtp (Exim 4.69) (envelope-from ) id 1KzM6r-0007cS-O0 for ged-emacs-devel@m.gmane.org; Mon, 10 Nov 2008 03:02:33 +0100 Original-Received: from mail-mx1.uio.no ([129.240.10.29]) by mail-out2.uio.no with esmtp (Exim 4.69) (envelope-from ) id 1KzM6r-0007cP-Mj for ged-emacs-devel@m.gmane.org; Mon, 10 Nov 2008 03:02:33 +0100 Original-Received: from lists.gnu.org ([199.232.76.165]) by mail-mx1.uio.no with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1KzM6q-000513-Mc for ged-emacs-devel@m.gmane.org; Mon, 10 Nov 2008 03:02:33 +0100 Original-Received: from localhost ([127.0.0.1]:40039 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzM0h-00038u-4i for ged-emacs-devel@m.gmane.org; Sun, 09 Nov 2008 20:56:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KzM0d-00038o-Ix for emacs-devel@gnu.org; Sun, 09 Nov 2008 20:56:07 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KzM0a-00038Y-Pu for emacs-devel@gnu.org; Sun, 09 Nov 2008 20:56:06 -0500 Original-Received: from [199.232.76.173] (port=34134 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzM0a-00038U-Kr for emacs-devel@gnu.org; Sun, 09 Nov 2008 20:56:04 -0500 Original-Received: from smtp151.sat.emailsrvr.com ([66.216.121.151]:59511) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KzM0Z-0000RV-LL for emacs-devel@gnu.org; Sun, 09 Nov 2008 20:56:04 -0500 Original-Received: from relay15.relay.sat.mlsrvr.com (localhost [127.0.0.1]) by relay15.relay.sat.mlsrvr.com (SMTP Server) with ESMTP id A99A51B4033; Sun, 9 Nov 2008 20:55:58 -0500 (EST) Original-Received: by relay15.relay.sat.mlsrvr.com (Authenticated sender: lord-AT-emf.net) with ESMTP id ABEDC1B4028; Sun, 9 Nov 2008 20:55:57 -0500 (EST) In-Reply-To: X-Mailer: Evolution 2.22.3.1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 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 X-UiO-SPF-Received: Received-SPF: pass (mail-mx1.uio.no: domain of gnu.org designates 199.232.76.165 as permitted sender) client-ip=199.232.76.165; envelope-from=emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org; helo=lists.gnu.org; X-UiO-Spam-info: not spam, SpamAssassin (score=-4.0, required=5.0, autolearn=disabled, RCVD_IN_DNSWL_MED=-4, uiobl=NO, uiouri=NO) X-UiO-Scanned: 7635DE2B549C2C7F1B1590AFF28A66CD8C137015 X-UiO-SPAM-Test: remote_host: 199.232.76.165 spam_score: -39 maxlevel 200 minaction 2 bait 0 mail/h: 2 total 76661 max/h 424 blacklist 0 greylist 0 ratelimit 0 Xref: news.gmane.org gmane.emacs.devel:105520 Archived-At: On Sun, 2008-11-09 at 20:24 -0500, Stefan Monnier wrote: > > The data segment size of the emacs binary went from 4MB before the > > unicode-2 merge to 11MB after the merge. > > Fixing that is worth a delay. > > Note: it's not clear how much of those 7MB we can recover. Some of them > are undoubtedly actively needed. But, yes, clearly there are several > MBs worth of "unnecessary data", some of it is apparently not only dead > but even garbage collected. Are the tables in question represented as flat arrays that are "sparse" in the sense of mostly containing homogeneous sets of values at roughly page-sized chunks? If so, why not just compress them a bit (e.g., make them shallow trees). I've had very good results taking that approach in a past project... (In particular, I chose the maximum depth of the tree I was willing to tolerate then did a search to discover optimal (by my particular metric) branching factors and arranged for the sharing of identical sub-trees.) -t > > > Stefan > >