Applying regex to long text item (> 5000 symbols) is extremely slow and memory consuming.
Details
Details
- Reviewers
broulik davidedmundson - Group Reviewers
Plasma - Commits
- R120:d53622d7d9e0: [clipboard] Limit length of clipboard text item visualisation
Make a config over 16 records in Clipboard, copy some json string or whatever you have as long texts > 5000 symbols. I hat slow plasmashell, high cpu usage, slow running and over 700 MB of RAM.
Diff Detail
Diff Detail
- Repository
- R120 Plasma Workspace
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
applets/clipboard/contents/ui/TextItemDelegate.qml | ||
---|---|---|
33 | I think 100 is better since it can wrap to up to three lines, fine otherwise |