https://bugs.kde.org/show_bug.cgi?id=349410

Robby Stephenson <ro...@periapsis.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |3.2
             Status|REPORTED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://commits.kde.org/tel
                   |                            |lico/94fab242628ed4b1bf5068
                   |                            |5a06e829b8812fd6e8

--- Comment #1 from Robby Stephenson <ro...@periapsis.org> ---
Git commit 94fab242628ed4b1bf50685a06e829b8812fd6e8 by Robby Stephenson.
Committed on 11/02/2019 at 02:08.
Pushed by rstephenson into branch 'master'.

Check if entry match is good enough after every field comparison

Avoid needless comparisons if the threshold for a perfect match is
already met.
FIXED-IN: 3.2

M  +5    -1    ChangeLog
M  +5    -4    src/collection.cpp
M  +8    -0    src/collections/bookcollection.cpp
M  +23   -11   src/collections/comicbookcollection.cpp
M  +6    -5    src/collections/filecatalog.cpp
M  +12   -9    src/collections/musiccollection.cpp
M  +18   -11   src/collections/videocollection.cpp
M  +5    -3    src/entrycomparison.cpp
M  +4    -3    src/entrycomparison.h

https://commits.kde.org/tellico/94fab242628ed4b1bf50685a06e829b8812fd6e8

--- Comment #2 from Robby Stephenson <ro...@periapsis.org> ---
Git commit 965a6040538b9b0a21c5267d2f3b0124182fe6ce by Robby Stephenson.
Committed on 11/02/2019 at 01:52.
Pushed by rstephenson into branch 'master'.

Optimize Document::mergeCollection() a bit

Remove comparison of title with articles removed. The time needed to
strip articles is very onerous in a big collection comparison and other
fields should allow the entry to match, even if one title has an article
and the other doesn't.

M  +5    -6    src/document.cpp
M  +1    -1    src/entry.cpp
M  +32   -27   src/entrycomparison.cpp
M  +2    -2    src/entrycomparison.h
M  +3    -1    src/fieldformat.cpp
M  +18   -18   src/tests/collectiontest.cpp

https://commits.kde.org/tellico/965a6040538b9b0a21c5267d2f3b0124182fe6ce

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to