It's hard to answer this in isolation, because so much depends on the data and the rest of the program. If TYPE is consistent through the list, go for the outer-if.
Did you profile your program, though?
In reply to Re: performance - loops, sub refs, symbol tables, and if/elses
by chromatic
in thread performance - loops, sub refs, symbol tables, and if/elses
by jaa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |