emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Inlining policy (was: emacs rendering comparisson between emacs23 and em


From: Andrea Corallo
Subject: Inlining policy (was: emacs rendering comparisson between emacs23 and emacs26.3)
Date: Sun, 05 Apr 2020 10:23:38 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Paul Eggert <address@hidden> writes:

> I looked into this, and although it's no doubt fundamentally due to a
> slow algorithm, the slowness is exacerbated if you use -Og (which you
> appear to be using). Stefan's recent message hinted at this. I
> installed the attached into master to try to fix the -Og issue; please
> give it a try.

Hi Paul,

what about having a new macro to control the key operations we want to
always have inlined at -O0 and -Og instead of falling back into defining
these as macros?

Something like the attached patch.

Going further I think we could also use this to take control of the
subset of functions we really want to have always inlined also when
optimizing.

Don't know maybe this solution of the always_inline attribute has been
already attempted, in case apologies for the noise.

  Andrea

--
address@hidden

Attachment: 0001-Introduce-KEY_OP_INLINE-for-key-operations-inlining.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]