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.