I just did some testing on _very_ large paragraphs, and it seems that
rope has a lot better memory usage and is faster than vector. This is
best noticed when inserting and you insert so much thata the
vector/rope needs to allocate more memory. The memory usage is also
completely different, at least in the implementaions I am using, up to
10MB in difference after doing some inserts into a _huge_ paragrap.
I think that we later can have a configure check for <rope> and use
that if available. One other option is to change dynamically to rope
when the paragraph grows very larg, but I don't like that much.
We will also most likely move the LyXParagraph container out into its
own class to encapsulate the differences between rope and vector and
also only expose the methods that we really need.
Lgb