|
From: | Stefan Monnier |
Subject: | Re: Emacs' C: static inline considered useless nowadays? |
Date: | Tue, 18 Oct 2022 09:32:32 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
> Never mind that; it's a historic accident. Just use 'static' and let > the compiler decide when to inline. Since both `gcc` and `clang` obey the `inline` attribute in that case for options like `-Og`, it can still be a good idea to keep them in those places where we think it makes a significant difference. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |