Misc optimization

This commit is contained in:
JustArchi
2020-03-06 00:00:02 +01:00
parent 2ac5a9c5f9
commit ce18794e3c

View File

@@ -1503,7 +1503,7 @@ namespace ArchiSteamFarm {
List<KeyValue> tags = description["tags"].Children;
if (tags.Count > 0) {
HashSet<Steam.Asset.Tag> parsedTags = new HashSet<Steam.Asset.Tag>();
HashSet<Steam.Asset.Tag> parsedTags = new HashSet<Steam.Asset.Tag>(tags.Count);
foreach (KeyValue tag in tags) {
string identifier = tag["category"].AsString();