mirror of https://github.com/llvm-mirror/libcxx
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
The function num_get<_CharT>::stage2_int_prep makes unnecessary copy of src into atoms when char_type is char. This can be avoided by creating a switch on type and just returning __src when char_type is char. Added the test case to demonstrate performance improvement. In order to avoid ABI incompatibilities, the changes are guarded with a macro _LIBCPP_ABI_OPTIMIZED_LOCALE_NUM_GET Differential Revision: https://reviews.llvm.org/D30268 Reviewed by: EricWF git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@305427 91177308-0d34-0410-b5e6-96231b3b80d8 |
9 years ago | |
|---|---|---|
| .. | ||
| CMakeLists.txt | 9 years ago | |
| ContainerBenchmarks.hpp | 9 years ago | |
| GenerateInput.hpp | 9 years ago | |
| algorithms.bench.cpp | 9 years ago | |
| filesystem.bench.cpp | 9 years ago | |
| string.bench.cpp | 9 years ago | |
| stringstream.bench.cpp | 9 years ago | |
| unordered_set_operations.bench.cpp | 9 years ago | |
| util_smartptr.bench.cpp | 9 years ago | |
| vector_operations.bench.cpp | 9 years ago | |