Skip to content

Optimize pytest duplicate check from O(n) to O(1) using sets - #25658

Merged
Eleanor Boyd (eleanorjboyd) merged 3 commits into
microsoft:mainfrom
eleanorjboyd:initial-spoonbill
Dec 12, 2025
Merged

Optimize pytest duplicate check from O(n) to O(1) using sets#25658
Eleanor Boyd (eleanorjboyd) merged 3 commits into
microsoft:mainfrom
eleanorjboyd:initial-spoonbill

Conversation

@eleanorjboyd

@eleanorjboydEleanor Boyd (eleanorjboyd) commented Dec 12, 2025

Copy link
Copy Markdown
Member

switched from list to set for better preformance

was first done by copilot but ported over

related to #25348 but about execution instead of discovery

CopilotAIand others added 2 commits December 12, 2025 21:22
…d of list
Co-authored-by: eleanorjboyd <26030610+eleanorjboyd@users.noreply.github.com>
@eleanorjboydEleanor Boyd (eleanorjboyd) changed the title Optimize pytest duplicate check from O(n) to O(1) using set #36Optimize pytest duplicate check from O(n) to O(1) using setsDec 12, 2025
@eleanorjboydEleanor Boyd (eleanorjboyd) added the debt Code quality issues label Dec 12, 2025
@eleanorjboyd
Eleanor Boyd (eleanorjboyd) marked this pull request as ready for review December 12, 2025 22:10
@vs-code-engineeringvs-code-engineeringBot added this to the December / January 2026 milestone Dec 12, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

debtCode quality issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@eleanorjboyd@dmitrivMS