Optimize get_url_params_except().
Review Request #15392 — Created Oct. 12, 2026 and updated — Latest diff uploaded
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
setbefore iteration begins, making lookups
more cheap.
Unit tests pass.