07-23-2020 06:07 AM
Ahhh, the No Free Lunch law
07-23-2020 06:14 AM
@PaulOfElora wrote:
Ahhh, the No Free Lunch law
That sums it up nicely.
07-23-2020 06:39 AM
wiebe@CARYA wrote:
@PaulOfElora wrote:
I like the in-lining approach, might get a little speed boost out of it.
At the expense of extra compile time.
And you'll loose the ability to debug the VI (probes, FP values, breakpoints, etc.).
You can't inline everything. VIs containing property nodes, invoke nodes, expression nodes (probably not a complete list) can't be inlined.
You can't put anything in a clone either. Pre-allocated clones don't allow application events, IIRC. A rarity, but recently ran into this.
Which is why we state that inlining is useful for small, concise, simple VIs where you will not need to do much debugging, but could use some extra potential optimizations.