D27771: [WriteTransaction] Avoid growing m_pendingOperations twice on replace

Stefan BrĂ¼ns noreply at phabricator.kde.org
Sun Mar 1 23:34:43 GMT 2020


bruns created this revision.
bruns added reviewers: Baloo, ngraham.
Herald added projects: Frameworks, Baloo.
Herald added a subscriber: kde-frameworks-devel.
bruns requested review of this revision.

REVISION SUMMARY
  As the following addTerms() does another reserve() with growing by
  terms.size() sum up both sizes. The reserve() in addTerms() is a
  noop then.

REPOSITORY
  R293 Baloo

BRANCH
  submit

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

AFFECTED FILES
  src/engine/writetransaction.cpp

To: bruns, #baloo, ngraham
Cc: kde-frameworks-devel, hurikhan77, lots0logs, LeGast00n, cblack, fbampaloukas, GB_2, domson, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200301/9d03a978/attachment.html>


More information about the Kde-frameworks-devel mailing list