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


On Tue, 2011-04-19 at 16:23 -0300, Kayo Hamid wrote:
From cppcheck: Using xxxx.empty() instead of xxxx.size() can be faster. 
 xxxx.size() can take linear time but xxxx.empty() is guaranteed to take 
 constant time

Many thanks for that other patch. I just pushed it too!

-- 
Cédric Bosdonnat
LibreOffice hacker
http://documentfoundation.org
OOo Eclipse Integration developer
http://cedric.bosdonnat.free.fr


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.