Re: [sc-dev] ScInterpreter::ScPropper() Optimization?

2007-04-12 Thread Niklas Nebel
Leonard Mada wrote: I found some interesting code inside the function ScInterpreter::ScPropper() [in interpr1.cxx]. namely, there is a while loop and an unnecessary subtraction is nested inside this while loop: see pStr[nPos - 1] while( nPos < nLen ) { aTmpStr.SetChar( 0, pStr

[sc-dev] ScInterpreter::ScPropper() Optimization?

2007-04-11 Thread Leonard Mada
I found some interesting code inside the function ScInterpreter::ScPropper() [in interpr1.cxx]. namely, there is a while loop and an unnecessary subtraction is nested inside this while loop: see pStr[nPos - 1] while( nPos < nLen ) { aTmpStr.SetChar( 0, pStr[nPos-1] );//