On Wed, Jul 20, 2005 at 07:24:54PM +0200, Alfredo Braunstein wrote:

> > We can trivially skip the slow bit if we're not change tracking the
> > document. 
> 
> That would be enough for 1.4 I guess.

That'd be OK.

> > We could copy the entire list, skipping empty paragraphs after doing the
> > erase(0, par). There must be a better way.
> 
> Are we sure that the slowness is memory moves in
> std::vector<Paragraph>::erase and not just in Paragraph::erase(0, par)?

No, we're not.

regards
john

Reply via email to