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

            Bug ID: 478250
           Summary: Sorting os very slow
    Classification: Applications
           Product: kate
           Version: 23.04.3
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: scripting
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: roze...@volny.cz
  Target Milestone: ---

SUMMARY
***
The sorting plugins:
  Tool->Scripts->Editing->Sort Selected Text ... 
                                      ...-> Remove Duplicates and sort ...)
are *very* slow.

What sort can make is seconds, kate/kwrite need hour(s) to achieve.
***


STEPS TO REPRODUCE
1. Create very large text file (50MB+)
2. Make it sort (and unique)
3. Compare times with `sort -u` on the same file

OBSERVED RESULT

Kate is not responding for a very long time

EXPECTED RESULT

*Much* faster result

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.27.7
KDE Frameworks Version 5.108.0
Qt Version: 5.15.10 (built against 5.15.10)

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

Reply via email to