{"action":"created","issue":{"url":"https://api.github.com/repos/JuanitoFatas/fast-ruby/issues/85","labels_url":"https://api.github.com/repos/JuanitoFatas/fast-ruby/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/JuanitoFatas/fast-ruby/issues/85/comments","events_url":"https://api.github.com/repos/JuanitoFatas/fast-ruby/issues/85/events","html_url":"https://github.com/JuanitoFatas/fast-ruby/pull/85","id":122792527,"number":85,"title":"Set#include is faster than Array#include","user":{"login":"nateberkopec","id":845662,"avatar_url":"https://avatars.githubusercontent.com/u/845662?v=3","gravatar_id":"","url":"https://api.github.com/users/nateberkopec","html_url":"https://github.com/nateberkopec","followers_url":"https://api.github.com/users/nateberkopec/followers","following_url":"https://api.github.com/users/nateberkopec/following{/other_user}","gists_url":"https://api.github.com/users/nateberkopec/gists{/gist_id}","starred_url":"https://api.github.com/users/nateberkopec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nateberkopec/subscriptions","organizations_url":"https://api.github.com/users/nateberkopec/orgs","repos_url":"https://api.github.com/users/nateberkopec/repos","events_url":"https://api.github.com/users/nateberkopec/events{/privacy}","received_events_url":"https://api.github.com/users/nateberkopec/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-17T18:16:55Z","updated_at":"2015-12-17T19:31:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JuanitoFatas/fast-ruby/pulls/85","html_url":"https://github.com/JuanitoFatas/fast-ruby/pull/85","diff_url":"https://github.com/JuanitoFatas/fast-ruby/pull/85.diff","patch_url":"https://github.com/JuanitoFatas/fast-ruby/pull/85.patch"},"body":"May want to include a warning that for most other methods (each and other iterators, union/difference), Array is faster."},"comment":{"url":"https://api.github.com/repos/JuanitoFatas/fast-ruby/issues/comments/165557213","html_url":"https://github.com/JuanitoFatas/fast-ruby/pull/85#issuecomment-165557213","issue_url":"https://api.github.com/repos/JuanitoFatas/fast-ruby/issues/85","id":165557213,"user":{"login":"nateberkopec","id":845662,"avatar_url":"https://avatars.githubusercontent.com/u/845662?v=3","gravatar_id":"","url":"https://api.github.com/users/nateberkopec","html_url":"https://github.com/nateberkopec","followers_url":"https://api.github.com/users/nateberkopec/followers","following_url":"https://api.github.com/users/nateberkopec/following{/other_user}","gists_url":"https://api.github.com/users/nateberkopec/gists{/gist_id}","starred_url":"https://api.github.com/users/nateberkopec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nateberkopec/subscriptions","organizations_url":"https://api.github.com/users/nateberkopec/orgs","repos_url":"https://api.github.com/users/nateberkopec/repos","events_url":"https://api.github.com/users/nateberkopec/events{/privacy}","received_events_url":"https://api.github.com/users/nateberkopec/received_events","type":"User","site_admin":false},"created_at":"2015-12-17T19:31:12Z","updated_at":"2015-12-17T19:31:12Z","body":"I think it depends on whether or not you think people will actually be swapping Arrays with Hashes for the `include?` performance. `Set`s are conceptually similar to Arrays, but `Hash`es of course are not. I can't see myself ever using a Hash with all `true` values in place of an Array, that just feels...sinful."}}