{"action":"created","issue":{"url":"https://api.github.com/repos/waynewbishop/SwiftStructures/issues/77","labels_url":"https://api.github.com/repos/waynewbishop/SwiftStructures/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/waynewbishop/SwiftStructures/issues/77/comments","events_url":"https://api.github.com/repos/waynewbishop/SwiftStructures/issues/77/events","html_url":"https://github.com/waynewbishop/SwiftStructures/pull/77","id":120638321,"number":77,"title":"Generic Binary Search with Slices","user":{"login":"perlfly","id":6462966,"avatar_url":"https://avatars.githubusercontent.com/u/6462966?v=3","gravatar_id":"","url":"https://api.github.com/users/perlfly","html_url":"https://github.com/perlfly","followers_url":"https://api.github.com/users/perlfly/followers","following_url":"https://api.github.com/users/perlfly/following{/other_user}","gists_url":"https://api.github.com/users/perlfly/gists{/gist_id}","starred_url":"https://api.github.com/users/perlfly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perlfly/subscriptions","organizations_url":"https://api.github.com/users/perlfly/orgs","repos_url":"https://api.github.com/users/perlfly/repos","events_url":"https://api.github.com/users/perlfly/events{/privacy}","received_events_url":"https://api.github.com/users/perlfly/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-06T14:45:32Z","updated_at":"2015-12-06T14:53:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/waynewbishop/SwiftStructures/pulls/77","html_url":"https://github.com/waynewbishop/SwiftStructures/pull/77","diff_url":"https://github.com/waynewbishop/SwiftStructures/pull/77.diff","patch_url":"https://github.com/waynewbishop/SwiftStructures/pull/77.patch"},"body":"Update related tests.\r\nMinor changes to extensions"},"comment":{"url":"https://api.github.com/repos/waynewbishop/SwiftStructures/issues/comments/162322106","html_url":"https://github.com/waynewbishop/SwiftStructures/pull/77#issuecomment-162322106","issue_url":"https://api.github.com/repos/waynewbishop/SwiftStructures/issues/77","id":162322106,"user":{"login":"perlfly","id":6462966,"avatar_url":"https://avatars.githubusercontent.com/u/6462966?v=3","gravatar_id":"","url":"https://api.github.com/users/perlfly","html_url":"https://github.com/perlfly","followers_url":"https://api.github.com/users/perlfly/followers","following_url":"https://api.github.com/users/perlfly/following{/other_user}","gists_url":"https://api.github.com/users/perlfly/gists{/gist_id}","starred_url":"https://api.github.com/users/perlfly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perlfly/subscriptions","organizations_url":"https://api.github.com/users/perlfly/orgs","repos_url":"https://api.github.com/users/perlfly/repos","events_url":"https://api.github.com/users/perlfly/events{/privacy}","received_events_url":"https://api.github.com/users/perlfly/received_events","type":"User","site_admin":false},"created_at":"2015-12-06T14:53:30Z","updated_at":"2015-12-06T14:53:30Z","body":"This adds a little to the use of guards and how it might change the algorithm implementation.\r\ni.e.: we guard for _inclusion_ of `key` instead of checking for its _exclusion_.\r\n\r\nAlso using only array slices will avoid new array allocations such that the implementation could be considered closer to the theoretical complexity.\r\n"}}