Open sschepens opened 10 months ago
v10
Currently, min, max and probably other tags are required to constantly parse the tag param strconv.ParseInt(param, 0, 64).
min
max
strconv.ParseInt(param, 0, 64)
This incurrs a considerable cost and seems unnecessary since tag params do not change over time.
Isn't there a way to cache this value on tag parsing?
Package version eg. v9, v10:
v10
Issue, Question or Enhancement:
Currently,
min
,max
and probably other tags are required to constantly parse the tag paramstrconv.ParseInt(param, 0, 64)
.This incurrs a considerable cost and seems unnecessary since tag params do not change over time.
Isn't there a way to cache this value on tag parsing?