Hi Marcus, hi Gerrit,

On Mon, 2003-10-27 at 03:50, Marcus Roth wrote:
> >
> Gerrit mentioned the problem of changes in the changed functions and as 
> a result of this a recoursive call of changed functions. If
> the mask is cleared after all changed calls, no recoursion could happen. 

Hm, true, but would that work? Essentially you would be throwing away
the indication that something changed. Wouldn't that create problems
where some stuff was just ignored? True, recursive changed() calls could
loop, but that's nothing extraordinary, you just have to be aware of it.

> But I'm not sure if this is realy a problem. I would prefere
> your solution. But I would use stl:lists instead of vectors. As we don't 
> need random access, lists have the advantage that we dont't
> have large unused and not freed memory blocks after loading a file. But 
> this is only a minor implementation detail.

I don't like using lists so much in something as central as this, as
lists always have to allocate a new list node. Vectors, once they have
reached a stable size, can get by without any allocation, which I think
would be appropriate for the very low-level stuff.

        Dirk





-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to