{"action":"created","issue":{"url":"https://api.github.com/repos/ramda/ramda/issues/1639","repository_url":"https://api.github.com/repos/ramda/ramda","labels_url":"https://api.github.com/repos/ramda/ramda/issues/1639/labels{/name}","comments_url":"https://api.github.com/repos/ramda/ramda/issues/1639/comments","events_url":"https://api.github.com/repos/ramda/ramda/issues/1639/events","html_url":"https://github.com/ramda/ramda/pull/1639","id":133389561,"number":1639,"title":"Move Set logic in uniqBy into custom _Set type","user":{"login":"scott-christopher","id":8951601,"avatar_url":"https://avatars.githubusercontent.com/u/8951601?v=3","gravatar_id":"","url":"https://api.github.com/users/scott-christopher","html_url":"https://github.com/scott-christopher","followers_url":"https://api.github.com/users/scott-christopher/followers","following_url":"https://api.github.com/users/scott-christopher/following{/other_user}","gists_url":"https://api.github.com/users/scott-christopher/gists{/gist_id}","starred_url":"https://api.github.com/users/scott-christopher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scott-christopher/subscriptions","organizations_url":"https://api.github.com/users/scott-christopher/orgs","repos_url":"https://api.github.com/users/scott-christopher/repos","events_url":"https://api.github.com/users/scott-christopher/events{/privacy}","received_events_url":"https://api.github.com/users/scott-christopher/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-13T02:34:43Z","updated_at":"2016-02-13T02:40:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ramda/ramda/pulls/1639","html_url":"https://github.com/ramda/ramda/pull/1639","diff_url":"https://github.com/ramda/ramda/pull/1639.diff","patch_url":"https://github.com/ramda/ramda/pull/1639.patch"},"body":"This change moves the logic for handling the equality semantics from within `R.uniqBy` into a separate `internal/_Set` type, cleaning up the internals of `R.uniqBy` while making something of a reusable Set type that honours `R.equals` semantics and can also be used in environments where a native `Set` doesn't exist.\r\n\r\nPerformance gets a nice little boost on earlier versions on Node too :wink:\r\n```\r\n> process.version\r\n'v0.10.36'\r\n> a = R.range(0, 1e6);\r\n> c.time(''); _.uniq(a); c.timeEnd('');\r\n: 156ms\r\n> c.time(''); R.uniq(a); c.timeEnd('');\r\n: 235ms\r\n\r\n> process.version\r\n'v5.5.0'\r\n> a = R.range(0, 1e6);\r\n> c.time(''); _.uniq(a); c.timeEnd('');\r\n: 315.964ms\r\n> c.time(''); R.uniq(a); c.timeEnd('');\r\n: 250.782ms\r\n```"},"comment":{"url":"https://api.github.com/repos/ramda/ramda/issues/comments/183568051","html_url":"https://github.com/ramda/ramda/pull/1639#issuecomment-183568051","issue_url":"https://api.github.com/repos/ramda/ramda/issues/1639","id":183568051,"user":{"login":"buzzdecafe","id":716260,"avatar_url":"https://avatars.githubusercontent.com/u/716260?v=3","gravatar_id":"","url":"https://api.github.com/users/buzzdecafe","html_url":"https://github.com/buzzdecafe","followers_url":"https://api.github.com/users/buzzdecafe/followers","following_url":"https://api.github.com/users/buzzdecafe/following{/other_user}","gists_url":"https://api.github.com/users/buzzdecafe/gists{/gist_id}","starred_url":"https://api.github.com/users/buzzdecafe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buzzdecafe/subscriptions","organizations_url":"https://api.github.com/users/buzzdecafe/orgs","repos_url":"https://api.github.com/users/buzzdecafe/repos","events_url":"https://api.github.com/users/buzzdecafe/events{/privacy}","received_events_url":"https://api.github.com/users/buzzdecafe/received_events","type":"User","site_admin":false},"created_at":"2016-02-13T02:40:41Z","updated_at":"2016-02-13T02:40:41Z","body":"nice. :cow2:"}}