diff options
author | Abseil Team <absl-team@google.com> | 2022-02-03 08:46:25 -0800 |
---|---|---|
committer | Derek Mauro <dmauro@google.com> | 2022-02-03 19:17:29 +0000 |
commit | 36db0e4b695756c948dbb45568b43a62ba5883ec (patch) | |
tree | f19029c6f2e6b7da0ad196d5c98dbaed8292dc5a /absl/strings/cord.cc | |
parent | 5202173ca7671ebe241cb4d9447dc4b1f2d3ec10 (diff) |
Export of internal Abseil changes
--
4409b08e103d6e7041d18a4d431290cafe3650cf by Derek Mauro <dmauro@google.com>:
Workaround NVCC compile error in StringConstant
Based on a patch in TensorFlow:
https://github.com/tensorflow/tensorflow/blob/da83132aba8d2b6a3c3a9b2e662868eb24f4dd1e/third_party/absl/com_google_absl_fix_mac_and_nvcc_build.patch#L262-L282
Fixes #1105
PiperOrigin-RevId: 426156316
--
25db16567ffc5400dfaa30b567398ede84729687 by Abseil Team <absl-team@google.com>:
Only look for Elf64_Auxinfo on 64-bit FreeBSD.
PiperOrigin-RevId: 426132251
--
2e73c3d9df59b2b769d2b8dca97f0ca5c512c72a by Abseil Team <absl-team@google.com>:
Add a problem hint to the error message when dereferencing the end() iterator.
PiperOrigin-RevId: 426120394
--
6befbf89c47963656b9e8151166ab4c8446d4785 by Martijn Vels <mvels@google.com>:
Make Cord Btree the default and remove opt out machinery
This change makes btree the default Cord format and removes the machinery to opt out. Subsequent changes will remove the 'true' constant evaluation and effectively cleanup all old code and references to CONCAT.
PiperOrigin-RevId: 426119728
--
f6a0a664029d61811d90bd484f4eefa0400b5dd4 by Abseil Team <absl-team@google.com>:
Mark Notification::HasBeenNotified as ABSL_MUST_USE_RESULT
PiperOrigin-RevId: 425927033
GitOrigin-RevId: 4409b08e103d6e7041d18a4d431290cafe3650cf
Change-Id: I86f1052c63c13c6486baf4108de2554f162f9c40
Diffstat (limited to 'absl/strings/cord.cc')
-rw-r--r-- | absl/strings/cord.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/absl/strings/cord.cc b/absl/strings/cord.cc index ddd14ef4..59722107 100644 --- a/absl/strings/cord.cc +++ b/absl/strings/cord.cc @@ -96,10 +96,7 @@ static constexpr uint64_t min_length[] = { static const int kMinLengthSize = ABSL_ARRAYSIZE(min_length); -static inline bool btree_enabled() { - return cord_internal::cord_btree_enabled.load( - std::memory_order_relaxed); -} +static inline constexpr bool btree_enabled() { return true; } static inline bool IsRootBalanced(CordRep* node) { if (!node->IsConcat()) { |