LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

are stacked sequences faster than flat sequences

I know this is probably an easy question to answer but I have not been able to find the answer in the User Manual.

I believe I asked when they first came out and the rep said they executed the same.
0 Kudos
Message 1 of 2
(2,367 Views)
I have not benchmarked it, but they should be the same if they have the same functionality. Why should they be different?

OTOH, flat sequences are much faster and easier to program and debug, because they don't hide code and don't have clumsy sequence locals. That's the time that really counts! 🙂

Stacked sequences should be discouraged. If you think you really need a stacked sequence, use a case structure in a state machine type topology instead. 🙂
0 Kudos
Message 2 of 2
(2,363 Views)