I have a huge array of clusters in my datasets. I have to search the array for each element and perfrom a cased based calculation on the element depending what it is. I want to do this without making multiple copies of the array or other bad techniques in labview. What is the best way to do this in terms of optimizing both memory and speed? Is there a way to parse without making a copy of the array by reference operations or something?
In general, if you don't overthink it and keep things simple, the compiler will do a good job of minimizing memory copies. There are also lots of tricks scattered around this forum that you should be able to find with some searching. Finally, if you post your code, forum members are happy to suggest improvements.
Post what you've got. As mentioned, the compiler is often very smart, and if you somehow make it hard on it, you can use DVRs to work in place.
I have a huge array of clusters in my datasets.
And I'm going to ask WHY?