You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Closes#1269
## Fixes Or Enhances
**Make sure that you've checked the boxes below before you submit PR:**
- [ ] Tests exist or have been written that cover this particular
change.
@go-playground/validator-maintainers
Package version eg. v9, v10:
v10
Enhancement:
Reducing memory allocation by changing map[string]bool/map[string]int -> map[string]strcut{}/map[int]struct{}
https://gist.github.com/davecheney/3be245c92b61e5045f75
Code sample, to showcase or reproduce:
I made a test that simply prints how much memory a particular map occupies
Bool:
Strcut:
Percentage ~ 7.29%:
The text was updated successfully, but these errors were encountered: