mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-03 15:00:26 +08:00
优化WAF性能
This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
||||
|
||||
func TestHash(t *testing.T) {
|
||||
for _, key := range []string{"costarring", "liquid", "hello"} {
|
||||
var h = fnv.Hash(key)
|
||||
var h = fnv.HashString(key)
|
||||
t.Log(key + " => " + types.String(h))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user