Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66739

Selecting "inline subVI" seems to be disabling constant folding

$
0
0

I'm running this VI 100,000 times in a for loop. With "preallocated" on and "allow debug" off, it takes about 165 ms. As soon as I select "inline", it jumps up to ~4,000 ms. My guess is that it's disabling contant folding (which would cause more processing time in the for loop). I thought inlining was supposed to make things faster :smileywink:

folding and inline.png

Here's the caller if it helps. Everything is normal (Debug on, non-reentrant, no inline)

Fold caller.png

 


Viewing all articles
Browse latest Browse all 66739

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>