Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

>>>>>> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
>
| Jean-Marc> The following patch modifies updateCounters to recompute
| Jean-Marc> the counters recursively for the whooe document everytime.
| Jean-Marc> As expected, this is _very_ expensive on a file like
| Jean-Marc> UserGuide. The profiler says that DocIterator::forwardPos
| Jean-Marc> is to blame.
>
| To be more precise, 96% of the time spent in updateCounters is due to
| ParIterator::operator++(int). 

For 1.4.0 I'd rather not fiddle to much with this. If it now works,
then that is good. We can work to speed it up later. Unless it is
_really_ horrible of course.

How slow are we talking about?

-- 
        Lgb

Reply via email to