Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize the string allocations #39

Open
DamianEdwards opened this issue Nov 15, 2022 · 0 comments
Open

Optimize the string allocations #39

DamianEdwards opened this issue Nov 15, 2022 · 0 comments

Comments

@DamianEdwards
Copy link
Owner

The validator has to allocate strings for each field it validates, including adding a level prefix as it descends the object graph, even if there don't end up being any errors. Would be good to look at if there's a way to minimize these allocations.

Examples:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant