[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
Thu Mar 28 09:45:51 PDT 2019


ivafanas updated this revision to Diff 192659.
ivafanas added a comment.

Simplified version is uploaded.
Yes, it is significantly shorter and cleaner.
Thank you!

Performance improvement is still nice, proposed version is 8-20x times faster than original implementation.
http://quick-bench.com/AzveFnRyMp8AcCWRODcxMhiqz3Y


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

https://reviews.llvm.org/D59178

Files:
  libcxx/src/string.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59178.192659.patch
Type: text/x-patch
Size: 3217 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190328/db7a8877/attachment.bin>


More information about the libcxx-commits mailing list