To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=73907
                 Issue #|73907
                 Summary|add 'static' flag to strings ...
               Component|porting
                 Version|680m197
                Platform|All
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|mmeeks
             Reported by|mmeeks





------- Additional comments from [EMAIL PROTECTED] Fri Jan 26 06:09:30 -0800 
2007 -------
Currently we pay a branching cost for strings to compare wrt. the EmptyString -
it would be better to genericise this to use one of the MSBits of the ref-count
to tag a string as 'static'.

This would have 2-3 major benefits:

* allow the wider use of static strings (beyond just "")
* turn any potential ref-count wrap-around issues into simple leaks
* improve performance by not requiring static strings to be ref-counted.

Patch is obvious, committed to CWS salstrintern.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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

Reply via email to