Skip to content

remove convertLeftAndRight#3389

Merged
jycor merged 4 commits intomainfrom
james/convert
Jan 21, 2026
Merged

remove convertLeftAndRight#3389
jycor merged 4 commits intomainfrom
james/convert

Conversation

@jycor
Copy link
Copy Markdown
Contributor

@jycor jycor commented Jan 21, 2026

This PR removes c.convertLeftAndRight, which avoids calls to c.Left().Type() and c.Right().Type().
Not entirely sure why receiver methods would impact performance this much, but benchmarks say so.

Benchmarks: dolthub/dolt#10342 (comment)

@jycor jycor merged commit 2f05077 into main Jan 21, 2026
8 checks passed
@jycor jycor deleted the james/convert branch January 21, 2026 23:40
@jycor jycor restored the james/convert branch January 21, 2026 23:46
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