[libcxx-commits] [PATCH] D78763: Add optimization to basic_string::assign for compile-time known constant values.

Martijn Vels via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jun 18 13:39:06 PDT 2020


mvels updated this revision to Diff 271828.
mvels marked an inline comment as done.
mvels added a comment.

Optimed ternary op for ascizz string -> always evalutate length in inlined constant string.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D78763

Files:
  libcxx/include/__string
  libcxx/include/string
  libcxx/lib/abi/x86_64-apple-darwin.v2.abilist

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78763.271828.patch
Type: text/x-patch
Size: 233562 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20200618/f46d12f8/attachment-0001.bin>


More information about the libcxx-commits mailing list