Jens-Heiner Rechtien <[EMAIL PROTECTED]> writes: > With UTF2 you mean "Uno Threading Framework 2"? I can see how it helps > the performance if we reduce mutex locking (especially Solar-Mutex, of > course) but naively I would assume that reference counter as > programming concept are mostly independent from that effort? Does UTF2 > significantly reduce the amount of reference counter usage? How? > Not per se. And apart from that, the ref counting in _itself_ is indeed not addressed by UTF2. But the number of _atomic_ operations could be significantly reduced - a plain, non-locking integer operation should be fast everywhere.
Whether we should go down that road (i.e. distinguishing between thread-safe and thread-unsafe ref counting all over the place) is a different question though... Cheers, -- Thorsten --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
