Re: CJK line breaking

From: Tomas Frydrych <tomasfrydrych_at_yahoo.co.uk>
Date: Tue Mar 01 2005 - 21:43:55 CET

>>>> ri.m_pText->setPosition(iPos+1);
>>>
>>>You could just use the ++ operator instead of that, and the code will
>>>probably more efficient with it.
>>
>>this is a myth. ++ does not change efficiency as is.
>
>
> If a compiler was not able to recognise i+1 and optimise it just as easily
> as i++ I would be looking for another compiler.
>

We are not talking about i+1 vs. i++; we are talking about the
difference between call to PD_StruxIterator::setPosition() and call to
PD_StruxIterator::operator ++ () as I already explained.

Tomas,
who would appreciate if people read posts before replying to them.
Received on Tue Mar 1 21:44:42 2005

This archive was generated by hypermail 2.1.8 : Tue Mar 01 2005 - 21:44:42 CET