Kay Ramme - Sun Germany - Hamburg wrote:
Unfortunately, many of these in-/decrements are generated on behalf of
the rtl strings, which are not yet planned to be replaced with a thread
unsafe version (despite the fact that this is certainly possible).
Regarding the (rtl, tools) strings, I think many copy and interlock
inc-/decrement operations could be avoided, if the constant strings,
e.g. as in
myFun(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("aStringLiteral")))
could be emitted constantly initialized. That would mean that
- no charset conversion (UNIX),
- no memory de-/allocation and
- no interlock operations
would ever be executed on behalf of these constant strings, which seems
to be superfluous anyway.
Kay
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]