On 29-Jun-2001 Lars Gullik Bjønnes wrote:

>| For now I would say 1, in the future certainly less that 10. I really
>| doubt that a map will ever be faster than a list or whatever. Further,
>| why do we pass a BufferView* to most insettext methods, whereas most
>| of the times it just calls TEXT(bv)? Why not have the LyXText as
>| parameter?
> 
> A simple assiative map implemented with std::vector<std::pair<X, Y> >
> would probably be just as good. Would be nice to keep the std::map
> interface though.

Well I don't know about how fast we are but you cannot put there a LyXText
parameter as the LyXText is allocated inside the InsetText and there is one
for each BufferView. You're right if you say actually we have only one, but
should we remove support for multiple BufferViews in InsetText now only to
have to reimplement it later to see the same behaviour? I would rather like
to fix it now!

> I am testing your patch now, with a couple of minor changes.

I'm happy you're doing this! (please pay attention to the special cases we've
seen at the meeting when testing and also try to add/remove tabular rows to see
that still works!)

      Jürgen

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen Vigna        E-Mail:  [EMAIL PROTECTED]
Italienallee 13/N       Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39100 Bozen           Web:     http://www.sad.it/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

When all else fails, EAT!!!

Reply via email to