Hi all. I'm trying to make a performance approvement in our app. I see a lot of “OR” statements in Xpath and Exclusive Split. I was always taught to avoid OR statements…. Which is faster? An OR / AND statement or an IF THEN ELSE statement. (Could also be an added ELSE IF). Please let me know :) Thanks in advance
asked
Dennis Bemer
1 answers
3
The OR Operation is only a Problem when it is used in an xpath statement and has associations on both sides. If you compare variables or attributes, it is safe to use or.