Skip to content

scala.collection.Map.foreachEntry backport for 2.11/2.12 #335

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ijuma opened this issue May 26, 2020 · 0 comments · Fixed by #341
Closed

scala.collection.Map.foreachEntry backport for 2.11/2.12 #335

ijuma opened this issue May 26, 2020 · 0 comments · Fixed by #341
Assignees
Labels
help wanted Extra attention is needed

Comments

@ijuma
Copy link
Contributor

ijuma commented May 26, 2020

Scala 2.13 introduced foreachEntry which avoids the allocation of tuples. It would be good for this method to be available when support for Scala 2.11/2.12 is still needed. I think it's OK for the 2.11/2.12 version to be less efficient.

@SethTisue SethTisue added the help wanted Extra attention is needed label May 26, 2020
ijuma added a commit to ijuma/scala-library-compat that referenced this issue Jun 5, 2020
ijuma added a commit to ijuma/scala-library-compat that referenced this issue Jun 5, 2020
@ijuma ijuma changed the title scala.collection.Map.foreachEntry backport for Scala 2.12 scala.collection.Map.foreachEntry backport for 2.11/2.12 Jun 5, 2020
julienrf added a commit that referenced this issue Jun 15, 2020
`scala.collection.Map.foreachEntry` backport for 2.11/2.12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants