Skip to content

csup.Writer: Use vbuild.Builder#6982

Merged
mattnibs merged 1 commit into
mainfrom
csup-vector-builder
May 22, 2026
Merged

csup.Writer: Use vbuild.Builder#6982
mattnibs merged 1 commit into
mainfrom
csup-vector-builder

Conversation

@mattnibs
Copy link
Copy Markdown
Collaborator

@mattnibs mattnibs commented May 21, 2026

This commit improves the csup.Writer by using vbuild.Builder to build vectors that eventually get encoded as CSUP. vbuild.Builder has improvements over the what existed in csup.Writer including the ability to handle vectors with Views, Consts or Dicts.

This PR also removes Scode columns in CSUP, changing things so bool, ip, net, and enum vectors are now natively encoded.

@mattnibs mattnibs requested a review from a team May 21, 2026 18:20
@mattnibs mattnibs force-pushed the csup-vector-builder branch from e907b0a to 721a43c Compare May 21, 2026 18:22
Comment thread csup/bytes.go Outdated
Comment thread csup/const.go Outdated
Comment thread csup/const.go Outdated
Comment thread csup/encoder.go Outdated
Comment thread csup/field.go Outdated
Comment thread csup/null.go Outdated
Comment thread csup/null.go Outdated
Comment thread csup/union.go Outdated
Comment thread csup/union.go Outdated
Comment thread runtime/vcache/bytes.go Outdated
This commit improves the csup.Writer but using vbuild.Builder to build
vectors that eventually get encoded as CSUP. vbuild.Builder has
improvements over the what existed is csup.Writer including the ability
to handle vectors with Views, Consts or Dicts.

This pr also removes Scode columns in CSUP, changing things so bool, ip,
net, enum vectors are now natively encoded.
@mattnibs mattnibs force-pushed the csup-vector-builder branch from 721a43c to a330268 Compare May 22, 2026 18:54
@mattnibs mattnibs merged commit 6db8c25 into main May 22, 2026
2 checks passed
@mattnibs mattnibs deleted the csup-vector-builder branch May 22, 2026 18:57
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