Skip to content

Conversation

@mkeskells
Copy link
Contributor

@mkeskells mkeskells commented Sep 19, 2020

ListMap.dropRight and take should never allocate
(was ListMap.foldRight should not generate additional garbage (just the tuples), but spun that out in #9218)

@scala-jenkins scala-jenkins added this to the 2.12.13 milestone Sep 19, 2020
@SethTisue SethTisue added library:collections PRs involving changes to the standard collection library performance the need for speed. usually compiler performance, sometimes runtime performance. labels Sep 19, 2020
@mkeskells
Copy link
Contributor Author

@lrytz - probably have to wait until #9141 or similar merges

@mkeskells mkeskells force-pushed the 2.12.x_ListMap_Drop_TakeRight branch from 5455514 to 1ae604a Compare October 13, 2020 07:39
@mkeskells mkeskells changed the title ListMap is reverse oriented, so optimise some APIs [after #9141] ListMap is reverse oriented, so optimise some APIs Oct 27, 2020
@mkeskells mkeskells marked this pull request as draft October 27, 2020 07:32
@retronym retronym modified the milestones: 2.12.13, 2.12.14 Nov 23, 2020
@dwijnand
Copy link
Member

dwijnand commented Dec 4, 2020

Going to add this to the list in scala/bug#11804 (comment), and otherwise close this one as we cannot land it without that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

library:collections PRs involving changes to the standard collection library performance the need for speed. usually compiler performance, sometimes runtime performance.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants