Open DamianEdwards opened 1 year ago
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:
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: