LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Local Variables and INLINING

For the record, I checked the MEMORY usage of a NON-inlined version.

 

Using the old pattern (local variable), the FP used 29.2 k, the diagram used 65.5 k.

Using the new pattern( constant), the FP uses 26.6 k, the diagram uses 58.1 k.

 

My original thinking (as I said, from 20+ years ago) was that using the local variable was re-using the data space (in-place, in effect).

 

It looks like any savings that might be there are dwarfed by other things.

 

I therefore will adopt the CONSTANT approach to all of these instances, regardless of INLINE status.

 

Thanks for your time, folks.

 

You CAN teach an old dog new tricks!

Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

Message 11 of 11
(232 Views)