Skip to content

Conversation

@dwijnand
Copy link
Member

No description provided.

@dwijnand dwijnand marked this pull request as ready for review June 3, 2022 12:50
@dwijnand dwijnand assigned nicolasstucki and unassigned dwijnand Jun 6, 2022
@TheElectronWill
Copy link
Contributor

TheElectronWill commented Jun 7, 2022

hasSameLengthAs uses @tailrec, I wonder if that makes a difference here 🤔 (probably not, but now I also wonder if I can start a benchmark...)

@TheElectronWill
Copy link
Contributor

test performance please

@TheElectronWill TheElectronWill self-requested a review June 7, 2022 10:33
@som-snytt
Copy link
Contributor

On an unrelated PR, someone asked about if vs pattern match, and also method call vs type test. ("There are more bytecodes.") It would be nice if there were a canonical reference for a preferred idiom.

Copy link
Contributor

@nicolasstucki nicolasstucki left a comment

Choose a reason for hiding this comment

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

Otherwise LGTM

@dwijnand dwijnand enabled auto-merge June 7, 2022 14:52
@dwijnand dwijnand merged commit 76a0b29 into scala:main Jun 7, 2022
@dwijnand dwijnand deleted the same-length branch June 10, 2022 12:34
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.

4 participants