From: Paul Eggert <eggert@cs.ucla.edu>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>, emacs-devel@gnu.org
Cc: Dmitry Antipov <dmantipov@yandex.ru>
Subject: Re: [Emacs-diffs] master 3b48f99: Tune pseudovector allocation assuming Qnil == 0
Date: Mon, 19 Jan 2015 01:03:48 -0800 [thread overview]
Message-ID: <54BCC874.4020401@cs.ucla.edu> (raw)
In-Reply-To: <jwvmw5isn6l.fsf-monnier+emacsdiffs@gnu.org>
Stefan Monnier wrote:
> Is Qnil==0 true for all builds?
Yes, that's been true since Jan 10. I looked, and there are some other places
where we can profitably prefer memset to assigning Qnil by hand; I did this in
commit b7f83adda5a32140811e8e7decc4394d64cada3d just now.
> Maybe it's better to do
>
> if (Qnil == 0)
> <newcode>
> else
> <oldcode>
It's a bit simpler to verify that Qnil is zero, as in the abovementioned commit.
prev parent reply other threads:[~2015-01-19 9:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20150116091337.18580.48119@vcs.savannah.gnu.org>
[not found] ` <E1YC2yH-0004qI-S2@vcs.savannah.gnu.org>
2015-01-16 16:31 ` [Emacs-diffs] master 3b48f99: Tune pseudovector allocation assuming Qnil == 0 Stefan Monnier
2015-01-19 9:03 ` Paul Eggert [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54BCC874.4020401@cs.ucla.edu \
--to=eggert@cs.ucla.edu \
--cc=dmantipov@yandex.ru \
--cc=emacs-devel@gnu.org \
--cc=monnier@IRO.UMontreal.CA \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.