mirror of
https://github.com/apple/foundationdb.git
synced 2025-06-03 03:41:53 +08:00
Added comment explaining use of std::vector in TagSet
This commit is contained in:
parent
de50d8366d
commit
9f0398a7b1
@ -95,6 +95,9 @@ public:
|
||||
private:
|
||||
size_t bytes;
|
||||
Arena arena;
|
||||
// Currently there are never >= 256 tags, so
|
||||
// std::vector is faster than std::set. This may
|
||||
// change if we allow more tags in the future.
|
||||
std::vector<TransactionTagRef> tags;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user