futurewei-cloud / alcor

Alcor: Cloud native SDN platform powered by Kubernetes and Istio
MIT License
32 stars 33 forks source link

[DPM Optimization] Change List to HashSet in MulticastGoalStateV2 #716

Open xieus opened 2 years ago

xieus commented 2 years ago

PR #713 changes List to HashSet for efficiency consideration (avoid duplication etc.)

We would like to apply similar changes to other Lists in https://github.com/futurewei-cloud/alcor/pull/713DPM/src/main/java/com/futurewei/alcor/dataplane/entity/MulticastGoalStateV2.java. For example, private List<String> vpcIds; private List<String> topics; private List<String> subTopics;