D11828: Simplify orPostingIterator and make it faster

Fabian Vogt noreply at phabricator.kde.org
Thu Jun 28 17:28:54 UTC 2018


fvogt added inline comments.

INLINE COMMENTS

> orpostingiterator.cpp:86
> +        // check if the docId is the new lowest docId
> +        if (((docId < m_nextId)) || (m_nextId == 0)) {
> +            m_nextId = docId;

Looks like most of those parens  are unnecessary.

REPOSITORY
  R293 Baloo

REVISION DETAIL
  https://phabricator.kde.org/D11828

To: bruns, #baloo, michaelh, #frameworks
Cc: fvogt, kde-frameworks-devel, #frameworks, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180628/bd39c12d/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list