Comment 13 for bug 1502297

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to neutron (master)

Reviewed: https://review.openstack.org/400182
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=e83d07d00a93ac3902025a0588d4f7c5b74dcd5c
Submitter: Jenkins
Branch: master

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).

    Change-Id: I82e6184a30ddb25f2258e21fe749573af44a52ca
    Related-Bug: #1502297