Uploaded image for project: 'Unitils'
  1. UNI-218

poor performance of LenientOrderCollectionComparator

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1
    • Fix Version/s: None
    • Component/s: reflectionassert
    • Labels:
      None

      Description

      We're using unitils on our project for ~6 months primary for comparing complex objects. Lenient order comparator is very helpful, though we had to patch the original version - in the distributed version it is slow, throws "OutOfMemory exception" on large collections and reports diff result in a very confusing way.

      Please find here a couple of patches - one for Comparator unit tests, another one for Comparator itself
      I was trying to improve diff matching, but have finally decided to keep it simple, as the whole diff matching model is not balanced properly.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              alexey_egorov Alexey Egorov
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: