Skip to content

Conversation

@jycor
Copy link
Contributor

@jycor jycor commented Nov 10, 2025

FPrintf is slow; it's quicker to use strconv for ints/floats + hash.WriteString and Sprintf + hash.WriteString for all other types.

benchmarks: dolthub/dolt#10054 (comment)

Copy link
Member

@zachmu zachmu left a comment

Choose a reason for hiding this comment

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

LGTM

@jycor jycor changed the title use type switch instead of fprintf for grouping key use type switch instead of Fprintf for grouping key Nov 11, 2025
@jycor jycor merged commit 66038dc into main Nov 11, 2025
8 checks passed
@jycor jycor deleted the james/cmp branch November 11, 2025 20:32
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.

3 participants