[Git][wine/wine][master] msvcrt: Avoid expensive timezone queries from plain time() calls.
Alexandre Julliard pushed to branch master at wine / wine Commits: 0497d0ff by Benjamin Fischer at 2026-05-18T21:58:30+02:00 msvcrt: Avoid expensive timezone queries from plain time() calls. The implementations of _time32 & _time64 internally used _ftime64, which also needs to query timezone information via GetTimeZoneInformation() which can be fairly expensive i.e. somewhere down the line is a localtime() call that practically always triggers at least a stat syscall, which is a lot of overhead for merely querying the time. - - - - - 1 changed file: - dlls/msvcrt/time.c View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/0497d0ff62f0513136263bb2b6168a6... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/0497d0ff62f0513136263bb2b6168a6... You're receiving this email because of your account on gitlab.winehq.org. Manage all notifications: https://gitlab.winehq.org/-/profile/notifications | Help: https://gitlab.winehq.org/help
participants (1)
-
Alexandre Julliard (@julliard)