4 Replies Latest reply: Aug 14, 2012 11:25 AM by Pablo Gálvez RSS

    how to optimize this expression ?

    Raj vadde



      i have a expression such as multiple if statements which has a heavy impact on performance of my appilcation ..i just need to optimize this expression is there a way .below is my expression 


      if ( dimensionality() =1 , expression1),

      if(dimensionality()=2, expression2),

      if(dimensionality()=3, expression3),

      if(dimensionality()=4, expression4,expression5))))