[PATCH] msvcrt: Use RtlQueryTimeZoneInformation when MUI not required.

Alexandre Julliard julliard at winehq.org
Fri Dec 21 04:54:56 CST 2018


Piotr Caban <piotr.caban at gmail.com> writes:

> I've also done some quick performance tests of GetTimeZoneInformation
> function and it works fast on Windows (it takes over 10 seconds to
> execute the function 10k times on wine while it takes ~10ms on
> Windows).

This is a regression that should be fixed. It's fine to use
RtlQueryTimeZoneInformation instead in places where it's a trivial
replacement, but we shouldn't be adding complex mechanisms to work
around GetTimeZoneInformation's slowness.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list