https://bugs.freedesktop.org/show_bug.cgi?id=81272

--- Comment #6 from Matthew Francis <fdb...@neosheffield.co.uk> ---
Poked at this a little with callgrind. There appear to be a number of villains
in this case:

1) SwTxtFrm::CollectAutoCmplWrds
Called from beneath SwLayIdle::DoIdleJob()
Workaround: Disable Tools – Autocorrect Options... – Word Completion – Collect
words

2) SwTxtFrm::_AutoSpell
Called from beneath SwLayIdle::DoIdleJob()
Workaround: Disable Tools – Automatic Spell Checking

3) SwTxtNode::CountWords
Called from beneath SwLayIdle::DoIdleJob()
Workaround: None found

4) SwTxtNode::CountWords
Called from beneath DocumentStatisticsManager::IncrementalDocStatCalculate
Workaround: None found


Each of these spends a long time dissecting text using SwScanner. In addition,
(3) and (4) appear to be counting the same words twice, which compounds the
fact that it's a slow operation on a long paragraph.

With all four disabled (commenting code out where necessary), editing the giant
paragraph in the text document is merely slow rather than intolerable.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to