[PATCH resend] kernelbase: Improve Get{, Dynamic}TimeZoneInformation() performance.
Akihiro Sagawa
sagawa.aki at gmail.com
Thu Sep 24 10:07:50 CDT 2020
How do we improve the performance?
___________________
Stellaris calls the above API massively. It suffers on poor performance
of the API after Wine 4.0-rc1.
By caching localized time zone name string, this patch achieves over 50
times better performance compared with the current implementation.
Although the code looks an ugly bit, we need a speed.
Wine-Bugs: https://bugs.winehq.org/show_bug.cgi?id=49808
Signed-off-by: Akihiro Sagawa <sagawa.aki at gmail.com>
---
dlls/kernelbase/locale.c | 47 ++++++++++++++++++++++++++++++++++------
1 file changed, 40 insertions(+), 7 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-kernelbase-Improve-Get-Dynamic-TimeZoneInformation-p.patch
Type: text/x-patch
Size: 3066 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20200925/6940f401/attachment-0001.bin>
More information about the wine-devel
mailing list