|
From: | Óscar Fuentes |
Subject: | Re: Knowing where a function has been used (bis) [Was: Re: Optimising Elisp code] |
Date: | Wed, 10 Oct 2018 22:50:54 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/26.1.50 (gnu/linux) |
Barry Margolin <barmar@alum.mit.edu> writes: > If a function is "insanely long" then inlining will have negligible > effect. Funcall overhead is only relevant if the function is really > short, so it spends nearly as much time calling the function as doing > the actual work of the function, AND you call the function frequently > enough that this overhead adds up to something significant. Inlining is not only about funcall overhead, although most compilers use code length as the unique heuristic for deciding when to inline a function.
[Prev in Thread] | Current Thread | [Next in Thread] |