Skip to content

Refactor PubRoots to use SmartList usage patterns#8676

Merged
jwren merged 2 commits intoflutter:mainfrom
jwren:smart-list-03
Jan 20, 2026
Merged

Refactor PubRoots to use SmartList usage patterns#8676
jwren merged 2 commits intoflutter:mainfrom
jwren:smart-list-03

Conversation

@jwren
Copy link
Copy Markdown
Member

@jwren jwren commented Jan 5, 2026

SmartList is a memory-efficient List implementation in the IntelliJ Platform, optimized for collections that typically contain 0 or 1 element.

This change updates PubRoots to use SmartList for collecting pub roots from modules and projects, as these lists are often small.

SmartList is a memory-efficient List implementation in the IntelliJ Platform, optimized for collections that typically contain 0 or 1 element.

This change updates PubRoots to use SmartList for collecting pub roots from modules and projects, as these lists are often small.
@jwren jwren requested review from helin24 and pq January 5, 2026 17:46
@jwren jwren merged commit 645c105 into flutter:main Jan 20, 2026
8 checks passed
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