Skip to content

perf: Use bulk-NULL builder in uuid#21845

Merged
Dandandan merged 1 commit intoapache:mainfrom
neilconway:neilc/perf-builder-uuid
Apr 25, 2026
Merged

perf: Use bulk-NULL builder in uuid#21845
Dandandan merged 1 commit intoapache:mainfrom
neilconway:neilc/perf-builder-uuid

Conversation

@neilconway
Copy link
Copy Markdown
Contributor

@neilconway neilconway commented Apr 25, 2026

Which issue does this PR close?

Rationale for this change

uuid() never emits NULLs, so this is a straightforward win. Benchmarks:

uuid (1024 rows): 21.618 µs → 20.133 µs, −6.90% (`p < 0.05`)

What changes are included in this PR?

  • GenericStringBuilder -> GenericStringArrayBuilder in uuid() implementation

Are these changes tested?

Yes.

Are there any user-facing changes?

No.

@github-actions github-actions Bot added the functions Changes to functions implementation label Apr 25, 2026
@Dandandan Dandandan added this pull request to the merge queue Apr 25, 2026
Merged via the queue into apache:main with commit 65f337d Apr 25, 2026
31 of 32 checks passed
@neilconway neilconway deleted the neilc/perf-builder-uuid branch April 26, 2026 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

functions Changes to functions implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Optimize uuid to use bulk-NULL string builder

2 participants