Skip to content

Use Map<true> for sets #16972

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

Merged
2 commits merged into from
Jul 7, 2017
Merged

Use Map<true> for sets #16972

2 commits merged into from
Jul 7, 2017

Conversation

ghost
Copy link

@ghost ghost commented Jul 6, 2017

Most Map<string> in the code map one string to a different string, so for clarity it would be nice if sets were of a different type.
Tests should be fixed by ivogabe/gulp-typescript#522

Copy link
Member

@sandersn sandersn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Any idea if there's a change in performance?

@ghost
Copy link
Author

ghost commented Jul 6, 2017

I wouldn't expect that. We weren't actually looking at the values, so it doesn't really matter what we put there.

@ghost ghost merged commit 17578e8 into master Jul 7, 2017
@ghost ghost deleted the maptrue branch July 7, 2017 17:34
@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants