On 11-Apr-2001 John Levon wrote:

> currently on Clone(), (when it works properly) we are resetting each cell's InsetText
> three times:
> once in Init, where they are constructed, once in operator=, where they shouldbe/are
> copied,
> and then again in Clone().
> 
> The second one causes the problem, so if we change the copy c-tor to not use 
>operator=
> itself,
> then we can avoid the second part of this. A small optimisation of course ...

Well you're right we do an assignment too much! I commented out the asignment
in Clone() as it is already done in the new() call! Thanks for pointing me to
this! I also tried to optimize the new() call for clone a bit.

         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
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Gnagloot, n.:
        A person who leaves all his ski passes on his jacket just to
        impress people.
                -- Rich Hall, "Sniglets"

Reply via email to