the "price" of a context switch/function call

Geoff Canyon gcanyon at gmail.com
Sat Oct 4 21:27:41 EDT 2014


On Sat, Oct 4, 2014 at 12:54 PM, Dr. Hawkins <dochawk at gmail.com> wrote:

> If I'm going to call a routine, say, 100 times in a fraction of a second,
> do I really save much by inlining it rather than calling it as a function?
>

Premature optimization is the root of <some> evil. If you write clean code,
it will be straightforward to optimize. If you write unclean optimized
code, it will never be clean.

gc



More information about the use-livecode mailing list