From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Dmitry Antipov <dmantipov@yandex.ru>
Cc: emacs-devel@gnu.org
Subject: Re: Redundant type checking in window.c and w32menu.c
Date: Tue, 19 Jun 2007 10:55:52 -0400 [thread overview]
Message-ID: <jwvhcp42dx5.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <4677EBCA.7020405@yandex.ru> (Dmitry Antipov's message of "Tue\, 19 Jun 2007 18\:44\:26 +0400")
> 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
next prev parent reply other threads:[~2007-06-19 14:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-19 14:44 Redundant type checking in window.c and w32menu.c Dmitry Antipov
2007-06-19 14:55 ` Stefan Monnier [this message]
2007-06-19 18:46 ` Ken Raeburn
2007-06-20 14:12 ` Dmitry Antipov
2007-06-20 15:20 ` Jason Rumney
2007-06-20 17:55 ` dmantipov
2007-06-20 20:46 ` Jason Rumney
2007-06-21 15:46 ` Dmitry Antipov
2007-06-21 17:38 ` Ken Raeburn
2007-06-20 20:12 ` Tom Tromey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvhcp42dx5.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=dmantipov@yandex.ru \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).