commit | 7f59e11e968244445e2ebb131228cfd9c55af0f0 | [log] [tgz] |
---|---|---|
author | Jinsong Fan <fanjinsong@sogou-inc.com> | Thu Dec 13 22:40:43 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Dec 13 22:40:43 2018 |
tree | e2fd41c2d7b877b792fe98a6596dab03bd10e04c | |
parent | 5f3d5d7804858d658708344a74978e34f798e8af [diff] |
dns: Reduce redundant comparisons in FindAddressListDeltaType() In FindAddressListDeltaType(), always spend O(nxn) to compare two AddressLists. If any match has occurred before, but the current does not match, or vice versa, so these two AddressLists are definitely DELTA_OVERLAP. The CL fixes it. Change-Id: I44f0c3824eb8376949a59b433bf9154707a50d47 Reviewed-on: https://chromium-review.googlesource.com/c/1371684 Reviewed-by: Eric Orth <ericorth@chromium.org> Commit-Queue: Eric Orth <ericorth@chromium.org> Cr-Commit-Position: refs/heads/master@{#616462}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .