remove a few TODO's attempted but perf didn't increase.

pull/252/head
joeybloggs 8 years ago
parent 4ce4d1cd71
commit 05d6aece82
  1. 4
      cache.go

@ -77,8 +77,6 @@ type cField struct {
cTags *cTag
}
// TODO: investigate using enum instead of so many booleans, may be faster
// but let's get the new cache system working first
type cTag struct {
tag string
aliasTag string
@ -91,8 +89,6 @@ type cTag struct {
next *cTag
}
// TODO: eliminate get and set functions from cache, they are pure overhead for nicer syntax.
func (v *Validate) extractStructCache(current reflect.Value, sName string) *cStruct {
v.structCache.lock.Lock()

Loading…
Cancel
Save