Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


poking at some performance stuff, I was surprised by some sluggish
comparisons of rtl::O[U]Strings where I knew that each string was a
shallow copy of the same underlying rtl_uString. Turns out that equals()
does the "shares same rtl_uString" optimization, but operator== doesn't.

I can't thing of a good reason why that might be ?, so now converted
operator== to simply call equals 
http://cgit.freedesktop.org/libreoffice/core/commit/?id=2b168feccee9c367152e106386101be903e4f1db
which makes my example zoom along like I had originally expected it to.

C.


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.