diff options
author | Abseil Team <absl-team@google.com> | 2021-09-14 19:15:10 -0700 |
---|---|---|
committer | Derek Mauro <dmauro@google.com> | 2021-09-15 08:51:22 -0400 |
commit | 2f25e6ea5f91d1646aca2337719c9b4deb64100a (patch) | |
tree | 5572e36b7b3b19bd8f670f1b222a5bff9d4308db /absl/time | |
parent | b2dc72c17ac663885b62334d334da9f8970543b5 (diff) |
Export of internal Abseil changes
--
a7924266cefd1c175142545996c967fb18b6144f by Abseil Team <absl-team@google.com>:
Document the performance advantages of the `ToInt64*()` family of functions.
PiperOrigin-RevId: 396736253
--
77aa845d3aa4c56a48b899ce5a5ffcf9b81991b3 by Matt Kulukundis <kfm@google.com>:
tiny cleanup: remove redundant `public:`
PiperOrigin-RevId: 396615677
--
b837e3de0ebd99e4c4f692a80a5d7ece3e829d18 by Martijn Vels <mvels@google.com>:
Make btree growth factor identical to concat code
The btree code is using a more aggressive growth rate on Cord::Append than the Concat version. To minimize impact on migration and existing tests using empirical assumptions on growth, this change makes the btree use the same rate as Concat logic.
PiperOrigin-RevId: 396595109
--
e958c06b6ab52e389caa7b3e43d83f924367e79c by Martijn Vels <mvels@google.com>:
Change CordRepBtree::Dump to include capacity of flats
PiperOrigin-RevId: 396591195
GitOrigin-RevId: a7924266cefd1c175142545996c967fb18b6144f
Change-Id: Ia38c09ba9891364b0727509dec4776eb6aadf984
Diffstat (limited to 'absl/time')
-rw-r--r-- | absl/time/time.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/absl/time/time.h b/absl/time/time.h index e9cbce84..5abd815a 100644 --- a/absl/time/time.h +++ b/absl/time/time.h @@ -480,8 +480,9 @@ Duration Hours(T n) { // ToInt64Hours() // // Helper functions that convert a Duration to an integral count of the -// indicated unit. These functions are shorthand for the `IDivDuration()` -// function above; see its documentation for details about overflow, etc. +// indicated unit. These return the same results as the `IDivDuration()` +// function, though they usually do so more efficiently; see the +// documentation of `IDivDuration()` for details about overflow, etc. // // Example: // |