<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>349410</bug_id>
          
          <creation_ts>2015-06-20 11:09:03 +0000</creation_ts>
          <short_desc>Collection merging for large file catalogs seems inefficient</short_desc>
          <delta_ts>2019-02-11 02:09:33 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>tellico</product>
          <component>general</component>
          <version>2.3.10</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Robby Stephenson">robby</reporter>
          <assigned_to name="Robby Stephenson">robby</assigned_to>
          
          
          <cf_commitlink>https://commits.kde.org/tellico/94fab242628ed4b1bf50685a06e829b8812fd6e8</cf_commitlink>
          <cf_versionfixedin>3.2</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1527067</commentid>
    <comment_count>0</comment_count>
    <who name="Robby Stephenson">robby</who>
    <bug_when>2015-06-20 11:09:03 +0000</bug_when>
    <thetext>See https://forum.kde.org/viewtopic.php?f=200&amp;t=126920

&gt; [The progress bar] stops [at 99%] for 6 minutes (for 3000 files + 1 new file for the sake of the test). 

Reproducible: Always</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1837165</commentid>
    <comment_count>1</comment_count>
    <who name="Robby Stephenson">robby</who>
    <bug_when>2019-02-11 02:09:33 +0000</bug_when>
    <thetext>Git commit 94fab242628ed4b1bf50685a06e829b8812fd6e8 by Robby Stephenson.
Committed on 11/02/2019 at 02:08.
Pushed by rstephenson into branch &apos;master&apos;.

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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1837166</commentid>
    <comment_count>2</comment_count>
    <who name="Robby Stephenson">robby</who>
    <bug_when>2019-02-11 02:09:33 +0000</bug_when>
    <thetext>Git commit 965a6040538b9b0a21c5267d2f3b0124182fe6ce by Robby Stephenson.
Committed on 11/02/2019 at 01:52.
Pushed by rstephenson into branch &apos;master&apos;.

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&apos;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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>