Skip to content

avoid type values in bsup package - #7605

Merged
nwt merged 1 commit into
mainfrom
bsup-type-values
Nov 4, 2026
Merged

nwt merged 1 commit into
mainfrom
bsup-type-values

Conversation

@nwt

@nwt nwt commented Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator

Type values can be large and can bloat a super.Context when interned by its LookupByValue, LookupTypeValue, and TranslateType methods. Avoid them by replacing type values with type IDs from a super.TypeDefs when one is available (i.e., everywhere but bsup.SuperFooter).

This includes a change of the BSUP version to 0.29.

@nwt
nwt requested a review from a team November 4, 2026 21:25

@mccanne mccanne left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Way better. One more big move to make along with DFS locators.

Comment thread bsup/version.go Resolved
Type values can be large and can bloat a super.Context when interned by
its LookupByValue, LookupTypeValue, and TranslateType methods.  Avoid
them by replacing type values with type IDs from a super.TypeDefs when
one is available (i.e., everywhere but bsup.SuperFooter).

This includes a change of the BSUP version to 0.29.
@nwt
nwt force-pushed the bsup-type-values branch from a833341 to c45c82f Compare November 4, 2026 23:29
@nwt
nwt merged commit d6b9442 into main Nov 4, 2026
2 checks passed
@nwt
nwt deleted the bsup-type-values branch November 4, 2026 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants