1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-18 02:16:10 -05:00
v2fly/common/strmatcher
DarthVader ac1e5cd925
Add minimal perfect hash domain matcher (#743)
* rename to HybridDomainMatcher & convert domain to lowercase

* refactor code & add open hashing for rolling hash map

* fix lint errors

* update app/dns/dns.go

* convert domain to lowercase in `strmatcher.go`

* keep the original matcher behavior

* add mph domain matcher & conver domain names to loweercase when matching

* fix lint errors

* fix lint errors
2021-03-15 15:21:38 +08:00
..
ac_automaton_matcher.go Refactor: A faster DomainMatcher implementation (#587) 2021-01-20 15:53:07 +08:00
benchmark_test.go Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
domain_matcher_test.go Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
domain_matcher.go Amend domain matcher with returning values of all matched subdomains 2020-08-13 15:26:30 +08:00
full_matcher_test.go Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
full_matcher.go Amending domain matcher with returning array of all matches 2020-08-11 13:31:04 +08:00
matchers_test.go Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
matchers.go Refactor DNS Server to record original rule of domain matchers 2020-08-16 22:18:12 +08:00
mph_matcher.go Add minimal perfect hash domain matcher (#743) 2021-03-15 15:21:38 +08:00
strmatcher_test.go Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
strmatcher.go Add minimal perfect hash domain matcher (#743) 2021-03-15 15:21:38 +08:00