all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] master 605f901: Prefer memcpy and memset to doing it by hand
Date: Sun, 7 Feb 2016 13:24:28 -0800	[thread overview]
Message-ID: <56B7B60C.7070407@cs.ucla.edu> (raw)
In-Reply-To: <m237t4quee.fsf@newartisans.com>

John Wiegley wrote:
> Is this so performance critical that we can't just always use the memset?

We can't always use the memset. The memset works only if the bit pattern we're 
trying to store can be implemented by storing the same unsigned char value 
repeatedly. The important special case here is storing Qnil, which is 
represented by the all-zeros bit pattern.




      reply	other threads:[~2016-02-07 21:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20160205003917.14369.86929@vcs.savannah.gnu.org>
     [not found] ` <E1aRUQf-0003kP-6V@vcs.savannah.gnu.org>
2016-02-05 13:25   ` [Emacs-diffs] master 605f901: Prefer memcpy and memset to doing it by hand Stefan Monnier
2016-02-05 22:40     ` Paul Eggert
2016-02-07 17:53     ` John Wiegley
2016-02-07 21:24       ` 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=56B7B60C.7070407@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --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.