Added comment explaining use of std::vector in TagSet

This commit is contained in:
sfc-gh-tclinkenbeard 2020-06-14 19:56:45 -07:00
parent de50d8366d
commit 9f0398a7b1
1 changed files with 3 additions and 0 deletions

View File

@ -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;
};