[Libreoffice] cppcheck inefficient checking for emptiness
cedric.bosdonnat.ooo at free.fr
Fri Apr 22 02:36:56 PDT 2011
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!
OOo Eclipse Integration developer
More information about the LibreOffice