Skip to content

Conversation

@ShashidharM0118
Copy link
Contributor

Which issue does this PR close?

Rationale for this change

Completes the hex encoding optimization work from #19568 by replacing write! format strings with lookup tables in the remaining instances (hex and sha1 functions in spark module).

What changes are included in this PR?

Avoid using write! with a format string and use a more efficient approach

Are these changes tested?

Yes

Are there any user-facing changes?

No.

@github-actions github-actions bot added the spark label Dec 31, 2025
Copy link
Member

@andygrove andygrove left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks @ShashidharM0118.

@getChan
Copy link
Contributor

getChan commented Jan 1, 2026

Have you benchmarked it? I’m curious about the performance impact.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants