[libcxx-commits] [PATCH] D59178: [libc++] Speedup to_string and to_wstring for integers using stack buffer and SSO

Afanasyev Ivan via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat Mar 23 11:20:47 PDT 2019


ivafanas updated this revision to Diff 192007.
ivafanas edited the summary of this revision.
ivafanas added a comment.

`to_string` via `to_chars` implementation is ready.

Performance improvement is nice:
http://quick-bench.com/fFyPrEWpB3jhCHQkLgkOAgsdaEI


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59178/new/

https://reviews.llvm.org/D59178

Files:
  libcxx/include/charconv
  libcxx/src/charconv.cpp
  libcxx/src/string.cpp
  libcxx/test/std/strings/string.conversions/to_string.pass.cpp
  libcxx/test/std/strings/string.conversions/to_wstring.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59178.192007.patch
Type: text/x-patch
Size: 16716 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190323/dc9ba26b/attachment-0001.bin>


More information about the libcxx-commits mailing list