Skip to content

Refactor PubRootCache to use SmartList usage patterns - #8685

Closed
jwren wants to merge 1 commit into
flutter:mainfrom
jwren:smart-list-08
Closed

Refactor PubRootCache to use SmartList usage patterns#8685
jwren wants to merge 1 commit into
flutter:mainfrom
jwren:smart-list-08

Conversation

@jwren

@jwren jwren commented Jan 7, 2026

Copy link
Copy Markdown
Member

Updates getRoots methods to use SmartList for collecting results. PubRoots are typically found in small numbers per module/project, making this memory optimization appropriate.

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

Updates getRoots methods to use SmartList for collecting results.
PubRoots are typically found in small numbers per module/project, making this memory optimization appropriate.
@jwren
jwren requested a review from helin24 January 7, 2026 04:05
@jwren

jwren commented Jan 14, 2026

Copy link
Copy Markdown
Member Author

Removing this PR, will update prompts.md file to generate larger PRs.

@jwren jwren closed this Jan 14, 2026
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.

1 participant