From: Andrea Corallo <akrl@sdf.org>
To: "Alex Bennée" <alex.bennee@linaro.org>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: native-comp build failures
Date: Fri, 13 Mar 2020 19:08:02 +0000 [thread overview]
Message-ID: <xjf1rpwysx9.fsf@sdf.org> (raw)
In-Reply-To: <87sgicnvhe.fsf@linaro.org> ("Alex Bennée"'s message of "Fri, 13 Mar 2020 15:08:13 +0000")
Sorry I managed to miss the second part of the mail.
Alex Bennée <alex.bennee@linaro.org> writes:
> I've also notices that while GNUS seems to run faster when I start it I
> see the message:
>
> You should byte-compile Gnus
Yeah I see the same. I guess this is because somewhere gnus is checking
for a function to be bytecompiled and assume that if it's not it must be
interpreted.
> So is there a way to tell which functions are byte-compiled and which
> have been compiled into native code?
A part from `describe-function' programmatically you can do:
(type-of (symbol-function 'org-mode)) => compiled-function
becomes when native compiled:
(type-of (symbol-function 'org-mode)) => subr
you can use predicated `subrp' and `subr-native-elisp-p' too.
Andrea
--
akrl@sdf.org
prev parent reply other threads:[~2020-03-13 19:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-13 15:08 native-comp build failures Alex Bennée
2020-03-13 17:25 ` Andrea Corallo
2020-03-13 19:57 ` Alex Bennée
2020-03-13 19:08 ` Andrea Corallo [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=xjf1rpwysx9.fsf@sdf.org \
--to=akrl@sdf.org \
--cc=alex.bennee@linaro.org \
--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.