From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: emacs-devel@gnu.org
Cc: Dmitry Antipov <dmantipov@yandex.ru>
Subject: Re: [Emacs-diffs] master 3b48f99: Tune pseudovector allocation assuming Qnil == 0
Date: Fri, 16 Jan 2015 11:31:58 -0500 [thread overview]
Message-ID: <jwvmw5isn6l.fsf-monnier+emacsdiffs@gnu.org> (raw)
In-Reply-To: <E1YC2yH-0004qI-S2@vcs.savannah.gnu.org> (Dmitry Antipov's message of "Fri, 16 Jan 2015 09:13:38 +0000")
> + /* Only the first lisplen slots will be traced normally by the GC.
> + But since Qnil == 0, we can memset Lisp_Object slots as well. */
> + memset (v->contents, 0, zerolen * word_size);
Is Qnil==0 true for all builds? Maybe it's better to do
if (Qnil == 0)
<newcode>
else
<oldcode>
-- Stefan
next parent reply other threads:[~2015-01-16 16:31 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 ` Stefan Monnier [this message]
2015-01-19 9:03 ` [Emacs-diffs] master 3b48f99: Tune pseudovector allocation assuming Qnil == 0 Paul Eggert
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=jwvmw5isn6l.fsf-monnier+emacsdiffs@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 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.