Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(492)

Issue 8226007: WORK_IN_PROGRESS: Do effective TLD lookups using a suffix trie (Closed)

Created:
9 years, 2 months ago by cbentzel
Modified:
6 years, 3 months ago
Reviewers:
bmcquade1
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Add support for using a suffix trie instead of a perfect hash to find effective top-level-domains. This uses http://code.google.com/p/domain-registry-provider/ to both generate the trie, as well as to do the lookups. If the GYP variable use_domain_suffix_trie is set to 1, this approach is used. Otherwise, the perfect hash is used.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -1 line) Patch
M .DEPS.git View 1 chunk +2 lines, -0 lines 0 comments Download
M DEPS View 1 chunk +3 lines, -0 lines 0 comments Download
M net/base/registry_controlled_domain.cc View 4 chunks +24 lines, -1 line 0 comments Download
M net/net.gyp View 2 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 1 (0 generated)
cbentzel
9 years, 2 months ago (2011-10-10 21:35:37 UTC) #1
Bryan - with some small changes to the domain-registry-provider source this
generally works. 

I need to do a lot more testing before flipping the suffix_trie default from 0
to 1.

Powered by Google App Engine
This is Rietveld 408576698