-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
[experiment] Use Sets instead of lists in more places #57992
Conversation
@typescript-bot perf test this faster |
matchedSources ? filter(sources, t => !matchedSources!.has(t)) : sources, | ||
matchedTargets ? filter(targets, t => !matchedTargets!.has(t)) : targets, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is so weird - why didn't these always just return matchedSources ?? sources
and matchedTargets ?? targets
before?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, these are the ones that don't match.
@jakebailey Here they are:
tscComparison Report - baseline..pr
System info unknown
Hosts
Scenarios
Developer Information: |
Dissapointing |
An old experiment inspired by #55224