14 Dec
2018
14 Dec
'18
3:49 p.m.
Akihiro Sagawa <sagawa.aki(a)gmail.com> writes:
This fixes a performance regression introduced by 67574e4440ac4d9786e52a669b40197d2a4cb505.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46266 Signed-off-by: Akihiro Sagawa <sagawa.aki(a)gmail.com> --- dlls/advapi32/registry.c | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+)
There shouldn't be any reason to store the cache in the registry, a simple process-local list would be faster. Also resource lookup should be fast enough to not require caching, so you could simply store a LRU list of loaded modules to avoid redundant load/unload. -- Alexandre Julliard julliard(a)winehq.org