remove v2ray.com

This commit is contained in:
秋のかえで 2021-05-01 08:55:27 +08:00
parent ee682b17d1
commit ec9f19039e
No known key found for this signature in database
GPG key ID: B208CDDD55BEF92C

View file

@ -11,13 +11,13 @@ import (
func BenchmarkACAutomaton(b *testing.B) { func BenchmarkACAutomaton(b *testing.B) {
ac := NewACAutomaton() ac := NewACAutomaton()
for i := 1; i <= 1024; i++ { for i := 1; i <= 1024; i++ {
ac.Add(strconv.Itoa(i)+".v2ray.com", Domain) ac.Add(strconv.Itoa(i)+".xray.com", Domain)
} }
ac.Build() ac.Build()
b.ResetTimer() b.ResetTimer()
for i := 0; i < b.N; i++ { for i := 0; i < b.N; i++ {
_ = ac.Match("0.v2ray.com") _ = ac.Match("0.xray.com")
} }
} }