[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Redundant type checking in window.c and w32menu.c
From: |
Stefan Monnier |
Subject: |
Re: Redundant type checking in window.c and w32menu.c |
Date: |
Tue, 19 Jun 2007 10:55:52 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
> P.S. Is code size the only reason to call Fcar(), Fcdr() and their safe
> versions directly from C code ? Replacing these dumb proxies with an
> appropriate macros eliminates a lot of function calls at the cost of ~28K
> increment in code size (for a stripped binary on x86).
No idea.
> Note if someone needs smaller emacs executable (what a strange
> requirement, but why not ?), just replacing -O2 with -Os saves ~235K.
Interestingly enough, at some point (i.e. some combination of x86 processors
and gcc versions) the -Os was the best speedwise as well (at least, it was
used for many SPEC submissions).
Stefan
- Redundant type checking in window.c and w32menu.c, Dmitry Antipov, 2007/06/19
- Re: Redundant type checking in window.c and w32menu.c, Ken Raeburn, 2007/06/19
- Re: Redundant type checking in window.c and w32menu.c, Dmitry Antipov, 2007/06/20
- Re: Redundant type checking in window.c and w32menu.c, Jason Rumney, 2007/06/20
- Re: Redundant type checking in window.c and w32menu.c, dmantipov, 2007/06/20
- Re: Redundant type checking in window.c and w32menu.c, Jason Rumney, 2007/06/20
- Re: Redundant type checking in window.c and w32menu.c, Dmitry Antipov, 2007/06/21
- Re: Redundant type checking in window.c and w32menu.c, Ken Raeburn, 2007/06/21
- Re: Redundant type checking in window.c and w32menu.c, Tom Tromey, 2007/06/20
Re: Redundant type checking in window.c and w32menu.c,
Stefan Monnier <=