From ec9f19039e22e57d2b4dd7597ac98c6c28f87eb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=8B=E3=81=AE=E3=81=8B=E3=81=88=E3=81=A7?= Date: Sat, 1 May 2021 08:55:27 +0800 Subject: [PATCH] remove v2ray.com --- common/matcher/str/benchmark_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/matcher/str/benchmark_test.go b/common/matcher/str/benchmark_test.go index e7420ee4..f52317b9 100644 --- a/common/matcher/str/benchmark_test.go +++ b/common/matcher/str/benchmark_test.go @@ -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") } }