Stephan Bergmann <[EMAIL PROTECTED]> writes:

> So, depending on CPU type, the version with LOCK is 2--8 times slower
> than the version without LOCK.  Would be interesting to see whether
> this has any actual impact on overall OOo performance.
>
Hm. First off, I'd try to inline those asm snippets (except for the
sparc ones, which use a function ptr to dynamically distinguish
between v8 and v9 instruction sets). Function call overhead for a
simple increment appears somewhat disproportionate to me...

Apart from that, with the integration of the UNO threading framework,
there's opportunity to bin thread-safe implementations at tons of
places, isn't there?

Cheers,

-- 

Thorsten

If you're not failing some of the time, you're not trying hard enough.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to