stretchr/objx

accessors.go:Set speed improvement

tylerstillwater opened this issue · 0 comments

Currently we call the regex to extract the array number EVERY TIME. Regex is expensive, so we should do a simple string search to find if there is an open bracket in the string. If there is, do the regex.