09-29-2014 03:03 PM
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?
09-29-2014 03:32 PM
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.
09-30-2014 01:57 AM
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.
/Y
10-01-2014 07:20 PM
I have a huge array of clusters in my datasets.
And I'm going to ask WHY?
rethink that.......