[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
0001-Introduce-KEY_OP_INLINE-for-key-operations-inlining.patch
Description: Text Data
- Re: emacs rendering comparisson between emacs23 and emacs26.3, (continued)
- Re: emacs rendering comparisson between emacs23 and emacs26.3, Paul Eggert, 2020/04/03
- Re: emacs rendering comparisson between emacs23 and emacs26.3, martin rudalics, 2020/04/04
- Re: emacs rendering comparisson between emacs23 and emacs26.3, Paul Eggert, 2020/04/04
- Re: emacs rendering comparisson between emacs23 and emacs26.3, Dmitry Gutov, 2020/04/04
- Re: emacs rendering comparisson between emacs23 and emacs26.3, martin rudalics, 2020/04/05
- Re: emacs rendering comparisson between emacs23 and emacs26.3, Paul Eggert, 2020/04/05
- Inlining policy (was: emacs rendering comparisson between emacs23 and emacs26.3),
Andrea Corallo <=
- Re: Inlining policy, Stefan Monnier, 2020/04/06
- Re: Inlining policy, Paul Eggert, 2020/04/06
- Re: Inlining policy, Andrea Corallo, 2020/04/06
- Re: Inlining policy, Stefan Monnier, 2020/04/06
- Re: Inlining policy, Paul Eggert, 2020/04/08
- Re: Inlining policy, Andrea Corallo, 2020/04/08
- Re: Inlining policy, Paul Eggert, 2020/04/08
- Re: Inlining policy, Andrea Corallo, 2020/04/08
- Re: Inlining policy, Paul Eggert, 2020/04/08
- Re: Inlining policy, Andrea Corallo, 2020/04/08