mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 20:40:11 +01:00
Apply SmallSize = 16 to frequent identifier and instruction/function sets in ScopeStack, Class, FacetType, and SpecificCoalescer to avoid dynamic heap allocations on small scopes. Also defer dest_field_names set allocation in struct conversion and provide default KeyContext for SetBase. This was found by inspection, but does seem to be a clear 1.5% win on overall compile time. ``` Ran baseline and experiment 10 times on 128 x 2450 MHz CPUs CPU caches: L1 Data 32Ki L1 Instruction 32Ki L2 Unified 512Ki L3 Unified 32Mi Load avg: 1.2041 1.16895 2.86133 Computing statistically significant deltas only wherethe P-value < 𝛂 of 0.05 Metric key: BenchmarkName... 👍 <delta> p=<U-test P-value> baseline: <median> ± <% at 95th conf> experiment: <median> ± <% at 95th conf> Benchmark ┃ CPU Time ┃ CYCLES ┃ INSTRUCTIONS ┃ Lines ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━ BM_CompileApiFileDenseDecls<Lang::Carbon, Phase::Check>/256... │ 👍 -1.768% p=0.0346 │ 👍 -1.683% p=0.0346 │ 👍 0.160% p=0.000428 │ ~ baseline: │ 49.11 ms ± 1.363% │ 155.6 M ± 1.875% │ 293.9 M ± 0.015% │ 4.093 k ± 1.360% experiment: │ 48.24 ms ± 2.213% │ 153 M ± 2.465% │ 293.4 M ± 0.081% │ 4.166 k ± 2.165% │ │ │ │ BM_CompileApiFileDenseDecls<Lang::Carbon, Phase::Check>/1024.. │ ?? p=0.159 │ ?? p=0.067 │ 👍 0.153% p=0.000249 │ ~ baseline: │ 50.61 ms ± 2.379% │ 160.7 M ± 2.777% │ 309.7 M ± 0.015% │ 19.96 k ± 2.326% experiment: │ 50.32 ms ± 0.971% │ 159.6 M ± 0.787% │ 309.2 M ± 0.086% │ 20.07 k ± 0.980% │ │ │ │ BM_CompileApiFileDenseDecls<Lang::Carbon, Phase::Check>/4096.. │ 👍 -1.593% p=0.0112 │ 👍 -1.632% p=0.00743 │ 👍 0.138% p=0.000328 │ ~ baseline: │ 58.58 ms ± 1.673% │ 186.5 M ± 1.487% │ 371.2 M ± 0.102% │ 70.96 k ± 1.645% experiment: │ 57.65 ms ± 1.032% │ 183.5 M ± 1.079% │ 370.7 M ± 0.091% │ 72.11 k ± 1.043% │ │ │ │ BM_CompileApiFileDenseDecls<Lang::Carbon, Phase::Check>/16384. │ 👍 -1.695% p=0.029 │ 👍 -1.823% p=0.0411 │ 👍 0.221% p=0.000428 │ ~ baseline: │ 90.07 ms ± 3.686% │ 287.1 M ± 3.694% │ 618.9 M ± 0.106% │ 186.9 k ± 3.555% experiment: │ 88.55 ms ± 1.891% │ 281.8 M ± 2.142% │ 617.6 M ± 0.158% │ 190.1 k ± 1.856% │ │ │ │ BM_CompileApiFileDenseDecls<Lang::Carbon, Phase::Check>/65536. │ 👍 -1.797% p=0.0201 │ 👍 -1.762% p=0.0201 │ 👍 0.222% p=0.000328 │ ~ baseline: │ 222.1 ms ± 2.560% │ 711 M ± 2.417% │ 1.613 G ± 0.158% │ 304.2 k ± 2.496% experiment: │ 218.1 ms ± 1.950% │ 698.5 M ± 2.010% │ 1.61 G ± 0.075% │ 309.7 k ± 1.989% │ │ │ │ BM_CompileApiFileDenseDecls<Lang::Carbon, Phase::Check>/262144 │ ?? p=0.398 │ ?? p=0.36 │ 👍 0.166% p=0.000931 │ ~ baseline: │ 782.2 ms ± 2.666% │ 2.502 G ± 2.546% │ 5.596 G ± 0.038% │ 345.8 k ± 2.597% experiment: │ 780.6 ms ± 4.249% │ 2.483 G ± 4.691% │ 5.587 G ± 0.024% │ 346.5 k ± 4.075% │ │ │ │ ``` Assisted-by: Antigravity with Gemini
427 lines
17 KiB
C++
427 lines
17 KiB
C++
// Part of the Carbon Language project, under the Apache License v2.0 with LLVM
|
|
// Exceptions. See /LICENSE for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
#ifndef CARBON_COMMON_SET_H_
|
|
#define CARBON_COMMON_SET_H_
|
|
|
|
#include <concepts>
|
|
#include <type_traits>
|
|
|
|
#include "common/check.h"
|
|
#include "common/hashtable_key_context.h"
|
|
#include "common/raw_hashtable.h"
|
|
#include "llvm/Support/Compiler.h"
|
|
|
|
namespace Carbon {
|
|
|
|
// Forward declarations to resolve cyclic references.
|
|
template <typename KeyT, typename KeyContextT>
|
|
class SetView;
|
|
template <typename KeyT, typename KeyContextT>
|
|
class SetBase;
|
|
template <typename KeyT, ssize_t SmallSize, typename KeyContextT>
|
|
class Set;
|
|
|
|
// A read-only view type for a set of keys.
|
|
//
|
|
// This view is a cheap-to-copy type that should be passed by value, but
|
|
// provides view or read-only reference semantics to the underlying set data
|
|
// structure.
|
|
//
|
|
// This should always be preferred to a `const`-ref parameter for the `SetBase`
|
|
// or `Set` type as it provides more flexibility and a cleaner API. By default
|
|
// a `SetView` provides no more immutability than a `const Set`: elements
|
|
// can't be added or removed, but they can be mutated, and the user is
|
|
// responsible for avoiding mutations that affect the hash value or equality
|
|
// comparison. However, a `SetView<T>` can be converted to a `SetView<const T>`,
|
|
// which prevents mutating the elements. As with any other view type, `const`
|
|
// on the `SetView` itself is "shallow": it prevents rebinding the `SetView` to
|
|
// a different underlying set, but doesn't affect mutability of the underlying
|
|
// set.
|
|
//
|
|
// A specific `KeyContextT` type can optionally be provided to configure how
|
|
// keys will be hashed and compared. The default is `DefaultKeyContext` which is
|
|
// stateless and will hash using `Carbon::HashValue` and compare using
|
|
// `operator==`. Every method accepting a lookup key or operating on the keys in
|
|
// the table will also accept an instance of this type. For stateless context
|
|
// types, including the default, an instance will be default constructed if not
|
|
// provided to these methods. However, stateful contexts should be constructed
|
|
// and passed in explicitly. The context type should be small and reasonable to
|
|
// pass by value, often a wrapper or pointer to the relevant context needed for
|
|
// hashing and comparing keys. For more details about the key context, see
|
|
// `hashtable_key_context.h`.
|
|
template <typename InputKeyT, typename InputKeyContextT = DefaultKeyContext>
|
|
class SetView : RawHashtable::ViewImpl<InputKeyT, void, InputKeyContextT> {
|
|
using ImplT = RawHashtable::ViewImpl<InputKeyT, void, InputKeyContextT>;
|
|
|
|
public:
|
|
using KeyT = ImplT::KeyT;
|
|
using KeyContextT = ImplT::KeyContextT;
|
|
using MetricsT = ImplT::MetricsT;
|
|
|
|
// This type represents the result of lookup operations. It encodes whether
|
|
// the lookup was a success as well as accessors for the key.
|
|
class LookupResult {
|
|
public:
|
|
LookupResult() = default;
|
|
explicit LookupResult(KeyT& key) : key_(&key) {}
|
|
|
|
explicit operator bool() const { return key_ != nullptr; }
|
|
|
|
auto key() const -> KeyT& { return *key_; }
|
|
|
|
private:
|
|
KeyT* key_ = nullptr;
|
|
};
|
|
|
|
// Enable implicit conversions that add `const`-ness to the key type.
|
|
explicit(false)
|
|
SetView(const SetView<std::remove_const_t<KeyT>, KeyContextT>& other_view)
|
|
requires(!std::same_as<KeyT, std::remove_const_t<KeyT>>)
|
|
: ImplT(other_view) {}
|
|
|
|
// Tests whether a key is present in the set.
|
|
template <typename LookupKeyT>
|
|
auto Contains(LookupKeyT lookup_key,
|
|
KeyContextT key_context = KeyContextT()) const -> bool;
|
|
|
|
// Lookup a key in the set.
|
|
template <typename LookupKeyT>
|
|
auto Lookup(LookupKeyT lookup_key,
|
|
KeyContextT key_context = KeyContextT()) const -> LookupResult;
|
|
|
|
// Run the provided callback for every key in the set.
|
|
template <typename CallbackT>
|
|
auto ForEach(CallbackT callback) const -> void
|
|
requires(std::invocable<CallbackT, KeyT&>);
|
|
|
|
// This routine is relatively inefficient and only intended for use in
|
|
// benchmarking or logging of performance anomalies. The specific metrics
|
|
// returned have no specific guarantees beyond being informative in
|
|
// benchmarks.
|
|
auto ComputeMetrics(KeyContextT key_context = KeyContextT()) -> MetricsT {
|
|
return ImplT::ComputeMetricsImpl(key_context);
|
|
}
|
|
|
|
private:
|
|
template <typename SetKeyT, ssize_t SmallSize, typename KeyContextT>
|
|
friend class Set;
|
|
friend class SetBase<KeyT, KeyContextT>;
|
|
friend class SetView<const KeyT, KeyContextT>;
|
|
|
|
using EntryT = ImplT::EntryT;
|
|
|
|
SetView() = default;
|
|
explicit(false) SetView(ImplT base) : ImplT(base) {}
|
|
SetView(ssize_t size, RawHashtable::Storage* storage)
|
|
: ImplT(size, storage) {}
|
|
};
|
|
|
|
// A base class for a `Set` type that remains mutable while type-erasing the
|
|
// `SmallSize` (SSO) template parameter.
|
|
//
|
|
// Note that `SetBase` has "shallow" const semantics: a `const SetBase<T>&`
|
|
// can't be used to mutate the set data structure itself (e.g. by changing
|
|
// the number of elements), but it can be used to mutate the `T` elements it
|
|
// contains. The user is responsible for avoiding mutations that would change
|
|
// the hash value or equality of an element. A `SetView<const T>` can be used
|
|
// to provide read-only access to the elements of a `SetBase<T>`.
|
|
//
|
|
// A pointer or reference to this type is the preferred way to pass a mutable
|
|
// handle to a `Set` type across API boundaries as it avoids encoding specific
|
|
// SSO sizing information while providing a near-complete mutable API.
|
|
template <typename InputKeyT, typename InputKeyContextT = DefaultKeyContext>
|
|
class SetBase
|
|
: protected RawHashtable::BaseImpl<InputKeyT, void, InputKeyContextT> {
|
|
protected:
|
|
using ImplT = RawHashtable::BaseImpl<InputKeyT, void, InputKeyContextT>;
|
|
|
|
public:
|
|
using KeyT = ImplT::KeyT;
|
|
using KeyContextT = ImplT::KeyContextT;
|
|
using ViewT = SetView<KeyT, KeyContextT>;
|
|
using LookupResult = ViewT::LookupResult;
|
|
using MetricsT = ImplT::MetricsT;
|
|
|
|
// The result type for insertion operations both indicates whether an insert
|
|
// was needed (as opposed to the key already being in the set), and provides
|
|
// access to the key.
|
|
class InsertResult {
|
|
public:
|
|
InsertResult() = default;
|
|
explicit InsertResult(bool inserted, KeyT& key)
|
|
: key_(&key), inserted_(inserted) {}
|
|
|
|
auto is_inserted() const -> bool { return inserted_; }
|
|
|
|
auto key() const -> KeyT& { return *key_; }
|
|
|
|
private:
|
|
KeyT* key_;
|
|
bool inserted_;
|
|
};
|
|
|
|
// Implicitly convertible to the relevant view type.
|
|
//
|
|
// NOLINTNEXTLINE(google-explicit-constructor): Designed to implicitly decay.
|
|
explicit(false) operator ViewT() const { return this->view_impl(); }
|
|
|
|
// We can't chain the above conversion with the conversions on `ViewT` to add
|
|
// const, so explicitly support adding const to produce a view here.
|
|
//
|
|
// NOLINTNEXTLINE(google-explicit-constructor): Designed to implicitly decay.
|
|
explicit(false) operator SetView<const KeyT, KeyContextT>() const {
|
|
return ViewT(*this);
|
|
}
|
|
|
|
// Convenience forwarder to the view type.
|
|
template <typename LookupKeyT>
|
|
auto Contains(LookupKeyT lookup_key,
|
|
KeyContextT key_context = KeyContextT()) const -> bool {
|
|
return ViewT(*this).Contains(lookup_key, key_context);
|
|
}
|
|
|
|
// Convenience forwarder to the view type.
|
|
template <typename LookupKeyT>
|
|
auto Lookup(LookupKeyT lookup_key,
|
|
KeyContextT key_context = KeyContextT()) const -> LookupResult {
|
|
return ViewT(*this).Lookup(lookup_key, key_context);
|
|
}
|
|
|
|
// Convenience forwarder to the view type.
|
|
template <typename CallbackT>
|
|
auto ForEach(CallbackT callback) const -> void
|
|
requires(std::invocable<CallbackT, KeyT&>)
|
|
{
|
|
return ViewT(*this).ForEach(callback);
|
|
}
|
|
|
|
// Convenience forwarder to the view type.
|
|
auto ComputeMetrics(KeyContextT key_context = KeyContextT()) const
|
|
-> MetricsT {
|
|
return ViewT(*this).ComputeMetrics(key_context);
|
|
}
|
|
|
|
// Insert a key into the set. If the key is already present, no insertion is
|
|
// performed and that present key is available in the result. Otherwise a new
|
|
// key is inserted and constructed from the argument and available in the
|
|
// result.
|
|
template <typename LookupKeyT>
|
|
auto Insert(LookupKeyT lookup_key, KeyContextT key_context = KeyContextT())
|
|
-> InsertResult;
|
|
|
|
// Insert a key into the map and call the provided callback if necessary to
|
|
// produce a new key when no existing value is found.
|
|
//
|
|
// Example: `m.Insert(key_equivalent, [] { return real_key; });`
|
|
//
|
|
// The point of this function is when the lookup key is _different_from the
|
|
// stored key. However, we don't restrict it in case that blocks generic
|
|
// usage.
|
|
template <typename LookupKeyT, typename KeyCallbackT>
|
|
auto Insert(LookupKeyT lookup_key, KeyCallbackT key_cb,
|
|
KeyContextT key_context = KeyContextT()) -> InsertResult
|
|
requires(
|
|
!std::same_as<KeyT, KeyCallbackT> &&
|
|
std::convertible_to<decltype(std::declval<KeyCallbackT>()()), KeyT>);
|
|
|
|
// Insert a key into the set and call the provided callback to allow in-place
|
|
// construction of the key if not already present. The lookup key is passed
|
|
// through to the callback so it needn't be captured and can be kept in a
|
|
// register argument throughout.
|
|
//
|
|
// Example:
|
|
// ```cpp
|
|
// m.Insert("widget", [](MyStringViewType lookup_key, void* key_storage) {
|
|
// new (key_storage) MyStringType(lookup_key);
|
|
// });
|
|
// ```
|
|
template <typename LookupKeyT, typename InsertCallbackT>
|
|
auto Insert(LookupKeyT lookup_key, InsertCallbackT insert_cb,
|
|
KeyContextT key_context = KeyContextT()) -> InsertResult
|
|
requires std::invocable<InsertCallbackT, LookupKeyT, void*>;
|
|
|
|
// Grow the set to a specific allocation size.
|
|
//
|
|
// This will grow the set's hashtable if necessary for it to have an
|
|
// allocation size of `target_alloc_size` which must be a power of two. Note
|
|
// that this will not allow that many keys to be inserted, but a smaller
|
|
// number based on the maximum load factor. If a specific number of insertions
|
|
// need to be achieved without triggering growth, use the `GrowForInsertCount`
|
|
// method.
|
|
auto GrowToAllocSize(ssize_t target_alloc_size,
|
|
KeyContextT key_context = KeyContextT()) -> void;
|
|
|
|
// Grow the set sufficiently to allow inserting the specified number of keys.
|
|
auto GrowForInsertCount(ssize_t count,
|
|
KeyContextT key_context = KeyContextT()) -> void;
|
|
|
|
// Erase a key from the set.
|
|
template <typename LookupKeyT>
|
|
auto Erase(LookupKeyT lookup_key, KeyContextT key_context = KeyContextT())
|
|
-> bool;
|
|
|
|
// Clear all key/value pairs from the set but leave the underlying hashtable
|
|
// allocated and in place.
|
|
auto Clear() -> void;
|
|
|
|
protected:
|
|
using ImplT::ImplT;
|
|
};
|
|
|
|
// A data structure for a set of keys.
|
|
//
|
|
// This set supports small size optimization (or "SSO"). The provided
|
|
// `SmallSize` type parameter indicates the size of an embedded buffer for
|
|
// storing sets small enough to fit. The default is zero, which always allocates
|
|
// a heap buffer on construction. When non-zero, must be a multiple of the
|
|
// `MaxGroupSize` which is currently 16. The library will check that the size is
|
|
// valid and provide an error at compile time if not. We don't automatically
|
|
// select the next multiple or otherwise fit the size to the constraints to make
|
|
// it clear in the code how much memory is used by the SSO buffer.
|
|
//
|
|
// This data structure optimizes heavily for small key types that are cheap to
|
|
// move and even copy. Using types with large keys or expensive to copy keys may
|
|
// create surprising performance bottlenecks. A `std::string` key should be fine
|
|
// with generally small strings, but if some or many strings are large heap
|
|
// allocations the performance of hashtable routines may be unacceptably bad and
|
|
// another data structure or key design is likely preferable.
|
|
//
|
|
// Note that `Set`, like `SetBase`, has "shallow" const semantics. Note also
|
|
// that this type should typically not appear on API boundaries; either
|
|
// `SetBase` or `SetView` should be used instead.
|
|
template <typename InputKeyT, ssize_t SmallSize = 0,
|
|
typename InputKeyContextT = DefaultKeyContext>
|
|
class Set : public RawHashtable::TableImpl<SetBase<InputKeyT, InputKeyContextT>,
|
|
SmallSize> {
|
|
using BaseT = SetBase<InputKeyT, InputKeyContextT>;
|
|
using ImplT = RawHashtable::TableImpl<BaseT, SmallSize>;
|
|
|
|
public:
|
|
using KeyT = BaseT::KeyT;
|
|
|
|
Set() = default;
|
|
Set(const Set& arg) = default;
|
|
Set(Set&& arg) noexcept = default;
|
|
auto operator=(const Set& arg) -> Set& = default;
|
|
auto operator=(Set&& arg) noexcept -> Set& = default;
|
|
|
|
// Reset the entire state of the hashtable to as it was when constructed,
|
|
// throwing away any intervening allocations.
|
|
auto Reset() -> void;
|
|
};
|
|
|
|
template <typename InputKeyT, typename InputKeyContextT>
|
|
template <typename LookupKeyT>
|
|
auto SetView<InputKeyT, InputKeyContextT>::Contains(
|
|
LookupKeyT lookup_key, KeyContextT key_context) const -> bool {
|
|
return this->LookupEntry(lookup_key, key_context) != nullptr;
|
|
}
|
|
|
|
template <typename InputKeyT, typename InputKeyContextT>
|
|
template <typename LookupKeyT>
|
|
auto SetView<InputKeyT, InputKeyContextT>::Lookup(LookupKeyT lookup_key,
|
|
KeyContextT key_context) const
|
|
-> LookupResult {
|
|
EntryT* entry = this->LookupEntry(lookup_key, key_context);
|
|
if (!entry) {
|
|
return LookupResult();
|
|
}
|
|
|
|
return LookupResult(entry->key());
|
|
}
|
|
|
|
template <typename InputKeyT, typename InputKeyContextT>
|
|
template <typename CallbackT>
|
|
auto SetView<InputKeyT, InputKeyContextT>::ForEach(CallbackT callback) const
|
|
-> void
|
|
requires(std::invocable<CallbackT, KeyT&>)
|
|
{
|
|
this->ForEachEntry([callback](EntryT& entry) { callback(entry.key()); },
|
|
[](auto...) {});
|
|
}
|
|
|
|
template <typename InputKeyT, typename InputKeyContextT>
|
|
template <typename LookupKeyT>
|
|
auto SetBase<InputKeyT, InputKeyContextT>::Insert(LookupKeyT lookup_key,
|
|
KeyContextT key_context)
|
|
-> InsertResult {
|
|
return Insert(
|
|
lookup_key,
|
|
[](LookupKeyT lookup_key, void* key_storage) {
|
|
new (key_storage) KeyT(std::move(lookup_key));
|
|
},
|
|
key_context);
|
|
}
|
|
|
|
template <typename InputKeyT, typename InputKeyContextT>
|
|
template <typename LookupKeyT, typename KeyCallbackT>
|
|
auto SetBase<InputKeyT, InputKeyContextT>::Insert(LookupKeyT lookup_key,
|
|
KeyCallbackT key_cb,
|
|
KeyContextT key_context)
|
|
-> InsertResult
|
|
requires(!std::same_as<KeyT, KeyCallbackT> &&
|
|
std::convertible_to<decltype(std::declval<KeyCallbackT>()()), KeyT>)
|
|
{
|
|
return Insert(
|
|
lookup_key,
|
|
[&key_cb](LookupKeyT /*lookup_key*/, void* key_storage) {
|
|
new (key_storage) KeyT(key_cb());
|
|
},
|
|
key_context);
|
|
}
|
|
|
|
template <typename InputKeyT, typename InputKeyContextT>
|
|
template <typename LookupKeyT, typename InsertCallbackT>
|
|
auto SetBase<InputKeyT, InputKeyContextT>::Insert(LookupKeyT lookup_key,
|
|
InsertCallbackT insert_cb,
|
|
KeyContextT key_context)
|
|
-> InsertResult
|
|
requires std::invocable<InsertCallbackT, LookupKeyT, void*>
|
|
{
|
|
auto [entry, inserted] = this->InsertImpl(lookup_key, key_context);
|
|
CARBON_DCHECK(entry, "Should always result in a valid index.");
|
|
|
|
if (LLVM_LIKELY(!inserted)) {
|
|
return InsertResult(false, entry->key());
|
|
}
|
|
|
|
insert_cb(lookup_key, static_cast<void*>(&entry->key_storage));
|
|
return InsertResult(true, entry->key());
|
|
}
|
|
|
|
template <typename InputKeyT, typename InputKeyContextT>
|
|
auto SetBase<InputKeyT, InputKeyContextT>::GrowToAllocSize(
|
|
ssize_t target_alloc_size, KeyContextT key_context) -> void {
|
|
this->GrowToAllocSizeImpl(target_alloc_size, key_context);
|
|
}
|
|
|
|
template <typename InputKeyT, typename InputKeyContextT>
|
|
auto SetBase<InputKeyT, InputKeyContextT>::GrowForInsertCount(
|
|
ssize_t count, KeyContextT key_context) -> void {
|
|
this->GrowForInsertCountImpl(count, key_context);
|
|
}
|
|
|
|
template <typename InputKeyT, typename InputKeyContextT>
|
|
template <typename LookupKeyT>
|
|
auto SetBase<InputKeyT, InputKeyContextT>::Erase(LookupKeyT lookup_key,
|
|
KeyContextT key_context)
|
|
-> bool {
|
|
return this->EraseImpl(lookup_key, key_context);
|
|
}
|
|
|
|
template <typename InputKeyT, typename InputKeyContextT>
|
|
auto SetBase<InputKeyT, InputKeyContextT>::Clear() -> void {
|
|
this->ClearImpl();
|
|
}
|
|
|
|
template <typename InputKeyT, ssize_t SmallSize, typename InputKeyContextT>
|
|
auto Set<InputKeyT, SmallSize, InputKeyContextT>::Reset() -> void {
|
|
this->ResetImpl();
|
|
}
|
|
|
|
} // namespace Carbon
|
|
|
|
#endif // CARBON_COMMON_SET_H_
|