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
List#tails and Stream#tails are extremely inefficient #9892
Comments
Imported From: https://issues.scala-lang.org/browse/SI-9892?orig=1 |
@SethTisue said: |
@soc said: |
@SethTisue said: |
@SethTisue said: |
note that in the abandoned PR, it came up that |
Which probably means that |
some rough initial wip on this at SethTisue/scala@b8614e8, from the Scala open source spree, Copenhagen 2017. to my collaborator on this: sorry I had to leave so abruptly, I didn't catch your name? it seemed to us, in the time we had, that there was no need to do one thing in |
scala/scala#5950 fixes it at the |
Let's close this? Should we add tests?
|
scala/scala#5950 included tests, so I think it was just inadvertent that this ticket wasn't closed when that was merged |
@hodga after accepting my invitation to https://github.com/orgs/scala/teams/contributors, comment here, and I'll assign this ticket to you |
@SethTisue I accepted the invitation :) |
List#tails inherits its implementation from TraversableLike which creates lots of new Lists:
The text was updated successfully, but these errors were encountered: