mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-12-22 11:23:32 +02:00
remove v2ray.com
This commit is contained in:
parent
ee682b17d1
commit
ec9f19039e
1 changed files with 2 additions and 2 deletions
|
@ -11,13 +11,13 @@ import (
|
|||
func BenchmarkACAutomaton(b *testing.B) {
|
||||
ac := NewACAutomaton()
|
||||
for i := 1; i <= 1024; i++ {
|
||||
ac.Add(strconv.Itoa(i)+".v2ray.com", Domain)
|
||||
ac.Add(strconv.Itoa(i)+".xray.com", Domain)
|
||||
}
|
||||
ac.Build()
|
||||
|
||||
b.ResetTimer()
|
||||
for i := 0; i < b.N; i++ {
|
||||
_ = ac.Match("0.v2ray.com")
|
||||
_ = ac.Match("0.xray.com")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue