You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Evan Brown
bbf2ed7890
Implement btree_iterator::operator-, which is faster than std::distance for btree iterators.
...
Note: btree_iterator::operator- is still O(N) because in the worst case (end()-begin()), we will have at least one operation per node in the tree, and there are at least N/M nodes, where M (a constant) is the maximum number of values per node.
PiperOrigin-RevId: 481716874
Change-Id: Ic0225b7509208ed96b75a2dc626d2aa4a24f4946
2 years ago
..
internal
Implement btree_iterator::operator-, which is faster than std::distance for btree iterators.
2 years ago
BUILD.bazel
Implement btree_iterator::operator-, which is faster than std::distance for btree iterators.
2 years ago
CMakeLists.txt
Implement btree_iterator::operator-, which is faster than std::distance for btree iterators.
2 years ago
btree_benchmark.cc
Implement btree_iterator::operator-, which is faster than std::distance for btree iterators.
2 years ago
btree_map.h
Implement btree_iterator::operator-, which is faster than std::distance for btree iterators.
2 years ago
btree_set.h
Implement btree_iterator::operator-, which is faster than std::distance for btree iterators.
2 years ago
btree_test.cc
Implement btree_iterator::operator-, which is faster than std::distance for btree iterators.
2 years ago
btree_test.h
Export of internal Abseil changes
5 years ago
fixed_array.h
Workaround for ASAN stack safety analysis problem with FixedArray container annotations.
2 years ago
fixed_array_benchmark.cc
Convert algorithm and container benchmarks to cc_binary
2 years ago
fixed_array_exception_safety_test.cc
Export of internal Abseil changes
4 years ago
fixed_array_test.cc
Export of internal Abseil changes
4 years ago
flat_hash_map.h
Undo documentation change on erase.
2 years ago
flat_hash_map_test.cc
Export of internal Abseil changes
3 years ago
flat_hash_set.h
Add common_policy_traits - a subset of hash_policy_traits that can be shared between raw_hash_set and btree.
2 years ago
flat_hash_set_test.cc
Export of internal Abseil changes
3 years ago
inlined_vector.h
`absl::InlinedVector` supports move assignment with non-assignable types.
2 years ago
inlined_vector_benchmark.cc
Convert algorithm and container benchmarks to cc_binary
2 years ago
inlined_vector_exception_safety_test.cc
Export of internal Abseil changes
5 years ago
inlined_vector_test.cc
`absl::InlinedVector` supports move assignment with non-assignable types.
2 years ago
node_hash_map.h
Fixed typo in `try_emplace` comment.
3 years ago
node_hash_map_test.cc
Export of internal Abseil changes
3 years ago
node_hash_set.h
Export of internal Abseil changes
3 years ago
node_hash_set_test.cc
Export of internal Abseil changes
3 years ago
sample_element_size_test.cc
Export of internal Abseil changes
3 years ago