From a8f7aaba72f95ba40f5ab46a6791eece19ca87c4 Mon Sep 17 00:00:00 2001 From: joeybloggs Date: Fri, 5 Aug 2016 22:34:40 -0400 Subject: [PATCH] remove TODO: tried it, only helped with 1 allocation, not worth the overhead and potential contention --- validator.go | 1 - 1 file changed, 1 deletion(-) diff --git a/validator.go b/validator.go index 0173bd0..1998281 100644 --- a/validator.go +++ b/validator.go @@ -208,7 +208,6 @@ OUTER: var i64 int64 reusableCF := &cField{} - // TODO: cache pool &cField for i := 0; i < current.Len(); i++ { i64 = int64(i)