Subject: bug#6006: recent emacs binary size increase by 800KB

From: Dan Nicolaescu <[email-masked]>
Date: Thu, 22 Apr 2010 13:13:50 -0400

Looking at recent emacs builds:

$ ls -l emacs-24*
-rwx------ 1 dann dann 7541146 Apr 15 16:04 emacs-24.0.50.1*
-rwx------ 1 dann dann 7545209 Apr 15 17:49 emacs-24.0.50.2*
-rwx------ 3 dann dann 8405343 Apr 18 15:53 emacs-24.0.50.3*

$ size -f emacs-24*
   text    data     bss     dec     hex filename
1847515 5426628       0 7274143  6efe9f emacs-24.0.50.1
1848083 5430148       0 7278231  6f0e97 emacs-24.0.50.2
1848275 6290116       0 8138391  7c2e97 emacs-24.0.50.3

The "data" segment size has increased between the .2 and .3 version by 800KB.

The change responsible seems to be this:

2010-04-18  Stefan Monnier  <[email-masked]>

            * loadup.el: Setup hash-cons for pure data.