Commit 4e5901f9 authored by Harry Zhang's avatar Harry Zhang

Fixe golints of equiv class

parent 6380a754
...@@ -62,6 +62,8 @@ func newAlgorithmCache() AlgorithmCache { ...@@ -62,6 +62,8 @@ func newAlgorithmCache() AlgorithmCache {
} }
} }
// NewEquivalenceCache returns EquivalenceCache to speed up predicates by caching
// result from previous scheduling.
func NewEquivalenceCache() *EquivalenceCache { func NewEquivalenceCache() *EquivalenceCache {
return &EquivalenceCache{ return &EquivalenceCache{
algorithmCache: make(map[string]AlgorithmCache), algorithmCache: make(map[string]AlgorithmCache),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment