Skip to content

Uses Set instead of Array for uniqueness.#101

Closed
valeriyvan wants to merge 1 commit intoInstagram:masterfrom
valeriyvan:set
Closed

Uses Set instead of Array for uniqueness.#101
valeriyvan wants to merge 1 commit intoInstagram:masterfrom
valeriyvan:set

Conversation

@valeriyvan
Copy link
Copy Markdown
Contributor

Changes in this pull request

Uses Set instead of Array for uniqueness.

Pull request checklist

  • All tests pass. Demo project builds and runs.
  • I added tests, an experiment, or detailed why my change isn't tested.
  • I have reviewed the contributing guide

@rnystrom
Copy link
Copy Markdown
Contributor

Ha, nice! Super simple.

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@rnystrom has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@valeriyvan
Copy link
Copy Markdown
Contributor Author

This array initialisation is great use case for AnyGenerator. But what can write so far is much longer of what we already have. Unfortunately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants