On Sun, Sep 24, 2023 at 12:31:20AM +0200, Samuel Thibault wrote:
> For an inline to actually get optimized, you have to put it in the .h
> file, otherwise the compiler won't be able to inline it at all since it
> won't have the definition when compiling other .c files.

It could be a good thing to add whole program optimizations like LTOs,
although this requires the code quality to be excellent, but that should
eventually be the case anyway.

-- 
Richard Braun

Reply via email to