From 05d6aece82d7ffcbe08a09d148e8c432a7c3ce42 Mon Sep 17 00:00:00 2001 From: joeybloggs Date: Mon, 11 Jul 2016 14:10:46 -0400 Subject: [PATCH] remove a few TODO's attempted but perf didn't increase. --- cache.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cache.go b/cache.go index 400dd45..bd67f39 100644 --- a/cache.go +++ b/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()