Stephen Mercer wrote:

> The VI in LabVIEW that just returns a constant is compiled by our
> compiler to be equivalent to having that constant directly on all the
> caller VIs.

So the LabVIEW compiler does the equivalent of "function inlining"?
What is the general set of conditions under which it does so?
Is there some means of verifying that a VI will indeed be inlined?

Hmm, makes you wonder what other cool optimisations we were
never told about...

Albert-Jan

---
Dr. A.C.J. Brouwer
CIT Egineering Nederland BV
http://www.citengineering.com


Reply via email to