|
From: | Bruno Haible |
Subject: | Re: [PATCH] careadlinkat: fix GCC 10 workaround |
Date: | Tue, 18 Aug 2020 16:04:19 +0200 |
User-agent: | KMail/5.1.3 (Linux/4.4.0-186-generic; KDE/5.18.0; x86_64; ; ) |
Bernhard Voelker wrote: > The question seems to be if the performance degradation of not-inlining is > larger > than switching from stack to malloc'ed storage. Definitely yes. Today's CPU hardware is optimized at doing function calls. A function call is *much* cheaper than doing an extra heap memory allocation. Bruno
[Prev in Thread] | Current Thread | [Next in Thread] |