Skip to content

Commit

Permalink
remove a few TODO's attempted but perf didn't increase.
Browse files Browse the repository at this point in the history
  • Loading branch information
deankarn committed Jul 11, 2016
1 parent 4ce4d1c commit 05d6aec
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cache.go
Expand Up @@ -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
Expand All @@ -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()
Expand Down

0 comments on commit 05d6aec

Please sign in to comment.