{"action":"created","issue":{"url":"https://api.github.com/repos/lodash/lodash/issues/2263","repository_url":"https://api.github.com/repos/lodash/lodash","labels_url":"https://api.github.com/repos/lodash/lodash/issues/2263/labels{/name}","comments_url":"https://api.github.com/repos/lodash/lodash/issues/2263/comments","events_url":"https://api.github.com/repos/lodash/lodash/issues/2263/events","html_url":"https://github.com/lodash/lodash/pull/2263","id":149285448,"number":2263,"title":"Update lodash.js","user":{"login":"jcataluna","id":3991161,"avatar_url":"https://avatars.githubusercontent.com/u/3991161?v=3","gravatar_id":"","url":"https://api.github.com/users/jcataluna","html_url":"https://github.com/jcataluna","followers_url":"https://api.github.com/users/jcataluna/followers","following_url":"https://api.github.com/users/jcataluna/following{/other_user}","gists_url":"https://api.github.com/users/jcataluna/gists{/gist_id}","starred_url":"https://api.github.com/users/jcataluna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcataluna/subscriptions","organizations_url":"https://api.github.com/users/jcataluna/orgs","repos_url":"https://api.github.com/users/jcataluna/repos","events_url":"https://api.github.com/users/jcataluna/events{/privacy}","received_events_url":"https://api.github.com/users/jcataluna/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lodash/lodash/labels/change","name":"change","color":"eb6420"},{"url":"https://api.github.com/repos/lodash/lodash/labels/CLA:%20Error","name":"CLA: Error","color":"f7c6c7"},{"url":"https://api.github.com/repos/lodash/lodash/labels/wontfix","name":"wontfix","color":"ffffff"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-18T22:10:25Z","updated_at":"2016-04-18T22:14:29Z","closed_at":"2016-04-18T22:14:29Z","pull_request":{"url":"https://api.github.com/repos/lodash/lodash/pulls/2263","html_url":"https://github.com/lodash/lodash/pull/2263","diff_url":"https://github.com/lodash/lodash/pull/2263.diff","patch_url":"https://github.com/lodash/lodash/pull/2263.patch"},"body":"When array is already sorted and if it has too many elements this change makes the function way more performant. In my case with an array with 300k elements sorted by timestamp makes a huge difference."},"comment":{"url":"https://api.github.com/repos/lodash/lodash/issues/comments/211602541","html_url":"https://github.com/lodash/lodash/pull/2263#issuecomment-211602541","issue_url":"https://api.github.com/repos/lodash/lodash/issues/2263","id":211602541,"user":{"login":"jdalton","id":4303,"avatar_url":"https://avatars.githubusercontent.com/u/4303?v=3","gravatar_id":"","url":"https://api.github.com/users/jdalton","html_url":"https://github.com/jdalton","followers_url":"https://api.github.com/users/jdalton/followers","following_url":"https://api.github.com/users/jdalton/following{/other_user}","gists_url":"https://api.github.com/users/jdalton/gists{/gist_id}","starred_url":"https://api.github.com/users/jdalton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdalton/subscriptions","organizations_url":"https://api.github.com/users/jdalton/orgs","repos_url":"https://api.github.com/users/jdalton/repos","events_url":"https://api.github.com/users/jdalton/events{/privacy}","received_events_url":"https://api.github.com/users/jdalton/received_events","type":"User","site_admin":false},"created_at":"2016-04-18T22:14:29Z","updated_at":"2016-04-18T22:14:29Z","body":"Thanks @jcataluna!\r\n\r\nI think this would be better as a separate method but also a sorted array could be `[1, 1, 1, 2, 2, 3, 3]` and we'd want to remove all the values the predicate returns truthy for."}}