catalog: optimize schemaResolvers.LookupObject
#135916
Labels
branch-master
Failures and bugs on the master branch.
C-performance
Perf of queries or internals. Solution not expected to change functional behavior.
o-perf-efficiency
Related to performance efficiency
P-2
Issues/test failures with a fix SLA of 3 months
6a7b1e2 oltp_read_only on reference roachprod cluster.
The problem here is that we have to allocate because we're using interfaces. See also #135905 - hopefully some refactoring or use of generics or in the worst case pooling can remove these classes of allocations from the SQL foundations codebase entirely.
Source:
/pkg/sql/schema_resolver.go#L165-L173
This seems easily pooled.
Epic: CRDB-42584
Jira issue: CRDB-44788
The text was updated successfully, but these errors were encountered: