{"action":"created","issue":{"url":"https://api.github.com/repos/diamondman/bitarray/issues/3","repository_url":"https://api.github.com/repos/diamondman/bitarray","labels_url":"https://api.github.com/repos/diamondman/bitarray/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/diamondman/bitarray/issues/3/comments","events_url":"https://api.github.com/repos/diamondman/bitarray/issues/3/events","html_url":"https://github.com/diamondman/bitarray/pull/3","id":184654672,"number":3,"title":"add optional pos parameter to start search from","user":{"login":"andre-merzky","id":1319674,"avatar_url":"https://avatars.githubusercontent.com/u/1319674?v=3","gravatar_id":"","url":"https://api.github.com/users/andre-merzky","html_url":"https://github.com/andre-merzky","followers_url":"https://api.github.com/users/andre-merzky/followers","following_url":"https://api.github.com/users/andre-merzky/following{/other_user}","gists_url":"https://api.github.com/users/andre-merzky/gists{/gist_id}","starred_url":"https://api.github.com/users/andre-merzky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andre-merzky/subscriptions","organizations_url":"https://api.github.com/users/andre-merzky/orgs","repos_url":"https://api.github.com/users/andre-merzky/repos","events_url":"https://api.github.com/users/andre-merzky/events{/privacy}","received_events_url":"https://api.github.com/users/andre-merzky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-10-22T21:18:37Z","updated_at":"2016-10-22T23:18:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/diamondman/bitarray/pulls/3","html_url":"https://github.com/diamondman/bitarray/pull/3","diff_url":"https://github.com/diamondman/bitarray/pull/3.diff","patch_url":"https://github.com/diamondman/bitarray/pull/3.patch"},"body":"This change is backward compatible.  It adds an additional `int` (or rather `ssize_t` typed) pos parameter to `ba.search()`, and the search is started from that position on.  That significantly improves runtime for consecutive searches in large bitarrays.  In my specific use case of searching 1k long, distinct patterns 1M times in a 16MBit array, the time reduced from 80 seconds to 0.5 seconds.\r\n\r\nThis PR was moved over from https://ilanschnell/bitarray/pull/35 ."},"comment":{"url":"https://api.github.com/repos/diamondman/bitarray/issues/comments/255559808","html_url":"https://github.com/diamondman/bitarray/pull/3#issuecomment-255559808","issue_url":"https://api.github.com/repos/diamondman/bitarray/issues/3","id":255559808,"user":{"login":"diamondman","id":1037510,"avatar_url":"https://avatars.githubusercontent.com/u/1037510?v=3","gravatar_id":"","url":"https://api.github.com/users/diamondman","html_url":"https://github.com/diamondman","followers_url":"https://api.github.com/users/diamondman/followers","following_url":"https://api.github.com/users/diamondman/following{/other_user}","gists_url":"https://api.github.com/users/diamondman/gists{/gist_id}","starred_url":"https://api.github.com/users/diamondman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diamondman/subscriptions","organizations_url":"https://api.github.com/users/diamondman/orgs","repos_url":"https://api.github.com/users/diamondman/repos","events_url":"https://api.github.com/users/diamondman/events{/privacy}","received_events_url":"https://api.github.com/users/diamondman/received_events","type":"User","site_admin":false},"created_at":"2016-10-22T23:18:48Z","updated_at":"2016-10-22T23:18:48Z","body":"Perfect. I see no other issues. Merging."}}
{"actor":{"display_login":"diamondman"}}