• 
      

    Optimize get_url_params_except().

    Review Request #15392 — Created Oct. 12, 2026 and updated — Latest diff uploaded

    Information

    Djblets
    release-7.x

    Reviewers

    get_url_params_except() iterated through the provided list of query
    argument exceptions for every key in the query string. This was more
    inefficient the more the larger the exception list.

    We now convert this to a set before iteration begins, making lookups
    more cheap.

    Unit tests pass.

    Commits

    Files