03-03-2008 02:42 PM - edited 03-03-2008 02:43 PM
Ravens Fan wrote:
Decimate seems to be about twice as fast.
Once you move that wire branch and indicators outside the frame, the decimate solution is probably about 1000x faster!!!!!!! (It will show 0ms, even with a 1e7 sized input).

03-03-2008 03:07 PM
03-03-2008 03:16 PM
krispiekream wrote:
how about deleting from a global array?
03-03-2008 03:23 PM - edited 03-03-2008 03:26 PM
03-03-2008 03:29 PM
krisp:
Is it possible to not put every other element in there in the first place? Stands to reason that would be more efficient than any other solution.
Rob
03-03-2008 03:34 PM
03-03-2008 03:58 PM - edited 03-03-2008 04:00 PM
altenbach wrote:
Actually, your example is highly flawed! 😮
- You need to place the indicators after the sequence structure, because there is a chance that the asynchronous update of the first indicator might grab CPU away from the second calculation.
- The much more damaging flaw is the wire branch that you seem to benchmark inside the decimate case.
Once you move that wire branch and indicators outside the frame, the decimate solution is probably about 1000x faster!!!!!!! (It will show 0ms, even with a 1e7 sized input).
Try it!
Message Edited by altenbach on 03-03-2008 12:43 PM
03-04-2008 04:08 PM
here is my code, how do i filter my global array?
i been trying to figure this out for 1 week and cant seems to get it right...
can someone please help...
i want to delete odd elements from my global array..
03-04-2008 04:16 PM
03-04-2008 04:21 PM