[libcxx-commits] [libcxx] [libc++] Speed up classic locale (PR #72112)
Mark de Wever via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Nov 23 12:06:03 PST 2023
================
@@ -1,11 +1,12 @@
#include "benchmark/benchmark.h"
#include "test_macros.h"
+#include <mutex>
#include <sstream>
TEST_NOINLINE double istream_numbers();
-double istream_numbers() {
+double istream_numbers(std::locale* l) {
----------------
mordante wrote:
nit: please use loc over one letter names, especially l (the letter) since it's easily confused with 1 (the number).
https://github.com/llvm/llvm-project/pull/72112
More information about the libcxx-commits
mailing list