[Bug 23193] wine notepad: Slow to open large files

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jan 12 07:43:34 CST 2018


https://bugs.winehq.org/show_bug.cgi?id=23193

Thomas Faber <thomas.faber at reactos.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thomas.faber at reactos.org

--- Comment #20 from Thomas Faber <thomas.faber at reactos.org> ---
Created attachment 60235
  --> https://bugs.winehq.org/attachment.cgi?id=60235
Patch: re-use script caches

I've looked at this issue in the context of the corresponding ReactOS bug
(https://jira.reactos.org/browse/CORE-14192), and found that a lot of time was
spent in GetCharABCWidthsW.
The attached patch takes the load time for the test file down from 17 to 8.5
seconds on my machine (Wine HEAD). I'll submit it after the code freeze.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list