commit e83d07d00a93ac3902025a0588d4f7c5b74dcd5c
Author: Quan Tian <email address hidden>
Date: Mon Nov 21 18:37:38 2016 +0800
Improve performance of _modify_rules
The _modify_rules method currently uses nested loop to removes rules
that belong to us but don't have the wrap name. Speed up this operation
by storing our rules as set.
Reduce operation complexity from O(n*m) to O(n).
Reviewed: https:/ /review. openstack. org/400182 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=e83d07d00a9 3ac3902025a0588 d4f7c5b74dcd5c
Committed: https:/
Submitter: Jenkins
Branch: master
commit e83d07d00a93ac3 902025a0588d4f7 c5b74dcd5c
Author: Quan Tian <email address hidden>
Date: Mon Nov 21 18:37:38 2016 +0800
Improve performance of _modify_rules
The _modify_rules method currently uses nested loop to removes rules
that belong to us but don't have the wrap name. Speed up this operation
by storing our rules as set.
Reduce operation complexity from O(n*m) to O(n).
Change-Id: I82e6184a30ddb2 5f2258e21fe7495 73af44a52ca
Related-Bug: #1502297