LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
moderator1983

Auto Optimization Tool

Status: Declined

Any idea that has not received any kudos within a year after posting will be automatically declined. 

I would always like to see an Auto Optimization Tool (AOT), that will actually suggests and corrects not just Rube Goldberg Code but also unnecessary/unused codes. I understand, based on continuous advancements in the LabVIEW compiler, compiled code generated from the VI are optimized to great extent... but we like to see if in the source code itself, some sort of optimization can be done so that a developer (specially learners like me) also gets to know that, in what different ways code can be optimize or what section of their code can be removed without affecting the functionality.

 

AOT 1

 

Now after I select AOT, similar to BDCT, it should make the code optimized. There should also be an available option, just to list, wherever this tool feels correction is required and let developer to take a call whether modify it or leave as it is.

 

AOT 2

 

Few examples what AOT should be capable of:

1. Remove Coercion Dots:

Remove Coercion Dots

 

2. Remove Unnecessary Constants:

Remove Unnecessary Constants

 

3. Remove Unnecessary Code:

Remove Unnecessary Code

well there is no end of types of 'unnecessary codes'... Smiley Surprised

 

Any other suggestion you want to add, is most welcome... Smiley Happy


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.