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

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

@ -77,8 +77,6 @@ type cField struct {
cTags *cTag 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 { type cTag struct {
tag string tag string
aliasTag string aliasTag string
@ -91,8 +89,6 @@ type cTag struct {
next *cTag 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 { func (v *Validate) extractStructCache(current reflect.Value, sName string) *cStruct {
v.structCache.lock.Lock() v.structCache.lock.Lock()

Loading…
Cancel
Save