From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Shigeru Fukaya <shigeru.fukaya@gmail.com>
Cc: 17475@debbugs.gnu.org
Subject: bug#17475: 24.3.91; bug of byte-optimize-zerop
Date: Tue, 20 May 2014 14:32:49 -0400 [thread overview]
Message-ID: <jwvlhtwjo7q.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <2ACF714B777A14shigeru.fukaya@gmail.com> (Shigeru Fukaya's message of "Sat, 17 May 2014 06:11:55 +0900")
> zerop itself is not an error-free fuction.
> I'll change my poroposal code.
> (defun byte-optimize-zerop (form)
> (cond ((numberp (nth 1 form))
> (eval form))
> ((list '= (nth 1 form) 0))))
Actually, you can drop the first option since the optimizer rules for
`=' will take care of it for us.
Stefan
next prev parent reply other threads:[~2014-05-20 18:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-12 15:11 bug#17475: 24.3.91; bug of byte-optimize-zerop Shigeru Fukaya
2014-05-16 21:11 ` Shigeru Fukaya
2014-05-20 18:32 ` Stefan Monnier [this message]
2014-05-28 0:51 ` Stefan Monnier
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=jwvlhtwjo7q.fsf-monnier+emacsbugs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=17475@debbugs.gnu.org \
--cc=shigeru.fukaya@gmail.com \
/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).