Skip to content

descs: use nstree.MutableCatalog for uncommitted layer #106151

@postamar

Description

@postamar
          TFTR! Moving to an `nstree.MutableCatalog` seems reasonable, though I'm not familiar with the data structures in this code, so I'll leave more invasive refactors for the experts. For now, I'll just land this smaller micro-optimization to avoid the 4 heap allocations per txn.

Originally posted by @nvanbenschoten in #105981 (comment)

Jira issue: CRDB-29428

Epic CRDB-58150

Metadata

Metadata

Assignees

Labels

C-cleanupTech debt, refactors, loose ends, etc. Solution not expected to significantly change behavior.T-sql-foundationsSQL Foundations Team (formerly SQL Schema + SQL Sessions)target-release-26.2.0

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions