[Bug 50923] New: Long freezes in osu! when searching in beatmaps
https://bugs.winehq.org/show_bug.cgi?id=50923 Bug ID: 50923 Summary: Long freezes in osu! when searching in beatmaps Product: Wine-staging Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: openglfreak(a)googlemail.com CC: leslie_alistair(a)hotmail.com, z.figura12(a)gmail.com Distribution: --- Created attachment 69739 --> https://bugs.winehq.org/attachment.cgi?id=69739 Patch that adds a single-entry sortguid cache to sortkey_compare Wine-Staging patchset libs-Unicode_Collation makes CompareStringEx far slower than before. This is because the sortkey_compare function added by the last patch and used by CompareStringEx makes a call to get_language_sort, which is not exactly cheap (it reads from the registry which involves server calls). A small patch that adds a simple cache for the last used sortguid makes the search function fast again. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=50923 Torge Matthies <openglfreak(a)googlemail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |openglfreak(a)googlemail.com -- 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.
https://bugs.winehq.org/show_bug.cgi?id=50923 winetest(a)luukku.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest(a)luukku.com --- Comment #1 from winetest(a)luukku.com --- please add keyword patch. Also you should offer the patch for wine-staging. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=50923 --- Comment #2 from Torge Matthies <openglfreak(a)googlemail.com> --- (In reply to Torge Matthies from comment #0)
Created attachment 69739 [details] Patch that adds a single-entry sortguid cache to sortkey_compare
Wine-Staging patchset libs-Unicode_Collation makes CompareStringEx far slower than before. This is because the sortkey_compare function added by the last patch and used by CompareStringEx makes a call to get_language_sort, which is not exactly cheap (it reads from the registry which involves server calls).
A small patch that adds a simple cache for the last used sortguid makes the search function fast again.
I sent a patch to the mailing list, see https://source.winehq.org/patches/data/203183 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=50923 Torge Matthies <openglfreak(a)googlemail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch -- 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.
https://bugs.winehq.org/show_bug.cgi?id=50923 Neko-san <nekoNexus(a)protonmail.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nekoNexus(a)protonmail.ch -- 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.
participants (1)
-
WineHQ Bugzilla