HomePhabricator

[libc++] Speed up certain locale functions on Windows

Description

[libc++] Speed up certain locale functions on Windows

The issue is that libcpp_locale_guard makes some slow calls to setlocale().
This change avoids using
libcpp_locale_guard in snprintf_l().

Fixes https://bugs.llvm.org/show_bug.cgi?id=41131

Differential Revision: https://reviews.llvm.org/D59525

Details

Committed
thomasandersonMar 19 2019, 1:30 PM
Differential Revision
D59525: Speed up certain locale functions on Windows
Branches
Unknown
Tags
Unknown