unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* byte compile international/mule-conf.el
@ 2009-11-04  3:02 Dan Nicolaescu
  0 siblings, 0 replies; only message in thread
From: Dan Nicolaescu @ 2009-11-04  3:02 UTC (permalink / raw)
  To: emacs-devel


loadup.el loads the .el version of international/mule-conf.el

Here are printouts for GC stats before and after loading the file.

The current version:

after gc mark_object delta=27565 conses=2927 free_conses=1859 symbols=3534 free_symbols=0 markers=581 free_markers=1 string_ssize=2231 vectors=187 vector_size=16817 floats=21 free_floats=9 interv=0 free_interv=0 strings=102 free_strings=1095 pure-bytes-nonlisp=78501 pure-bytes=192101
Loading international/mule-conf.el (source)...
gc_sweep free cons delta -14880
after gc mark_object delta=37815 conses=7539 free_conses=16739 symbols=3858 free_symbols=0 markers=581 free_markers=1 string_ssize=4306 vectors=698 vector_size=26297 floats=21 free_floats=9 interv=0 free_interv=0 strings=227 free_strings=2230 pure-bytes-nonlisp=94930 pure-bytes=224218


when loading the .elc file:

after gc mark_object delta=27565 conses=2927 free_conses=1859 symbols=3534 free_symbols=0 markers=581 free_markers=1 string_ssize=2231 vectors=187 vector_size=16817 floats=21 free_floats=9 interv=0 free_interv=0 strings=102 free_strings=1095 pure-bytes-nonlisp=78501 pure-bytes=192101
Loading international/mule-conf...
gc_sweep free cons delta -10173
after gc mark_object delta=37850 conses=7577 free_conses=12032 symbols=3858 free_symbols=0 markers=581 free_markers=1 string_ssize=4306 vectors=700 vector_size=26301 floats=21 free_floats=9 interv=0 free_interv=0 strings=227 free_strings=1033 pure-bytes-nonlisp=94993 pure-bytes=223649

Loading the .el generates a lot more garbage:  >4000 extra
free conses and >1000 extra free strings.  
This is not good idea when dumping.

Any objection to allow international/mule-conf.el to be byte compiled?




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-11-04  3:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-04  3:02 byte compile international/mule-conf.el Dan Nicolaescu

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).