LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
StudioGuy

Postpone compiler optimizations until a run or build

Status: Declined
See comments from AristosQueue and DJed below for more information about why this idea is contrary to the actual implementation of the LabVIEW compiler

LabVIEW continues to evolve into a more optimized programming language through many under-the-hood compile optimizations, and LabVIEW 2010 brings the compilation improvements to a new level. However, these optimizations currently happen every time the user saves a VI or perfoms an undo. In the past, this would only take <1 second, but with LabVIEW 2010 there are several scenarios where each save of the same VI now takes 7 seconds, with reports of other VIs taking 15, 30 seconds or more.

 

 

SUGGESTION: Postpone compile optimizations until the user presses RUN, performs a build, or similar operation.

 

RATIONALE: Compiler optimzations are not necessary during edit time where a programmer is just saving their wiring progress, and anyway multiple edits can change the prior optimizations. The optimization of code is only necessary when the user is ready to run the VI in some fashion (in LabVIEW, in a build, etc.). At that time, the user is certainly happy to wait for the improved run-time performance.

 

 

11 Comments
Darren
Proven Zealot
Status changed to: Declined
See comments from AristosQueue and DJed below for more information about why this idea is contrary to the actual implementation of the LabVIEW compiler