[Bug 35530] fjords is very slow because of GetLocaleInfoW checking registry

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Feb 6 16:52:48 CST 2014


http://bugs.winehq.org/show_bug.cgi?id=35530

--- Comment #1 from Vincent Povirk <madewokherd at gmail.com> ---
Created attachment 47443
  --> http://bugs.winehq.org/attachment.cgi?id=47443
hack to cache registry key handle

Hacking get_registry_locale_info to only create the HKEY once seems to be
enough to make the game playable.

It's still not a proper solution, but it suggests to me that reducing this to
one server call should be good enough. However, a server call still requires a
valid HKEY, and root keys like HKEY_CURRENT_USER don't count (they are
implemented by advapi32, which I assume we can't use from inside kernel32). 

Still, there are opportunities to reduce the number of server calls, and maybe
this doesn't need to be reduced to only one call.

-- 
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