{"action":"created","issue":{"url":"https://api.github.com/repos/realm/realm-core/issues/2297","repository_url":"https://api.github.com/repos/realm/realm-core","labels_url":"https://api.github.com/repos/realm/realm-core/issues/2297/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-core/issues/2297/comments","events_url":"https://api.github.com/repos/realm/realm-core/issues/2297/events","html_url":"https://github.com/realm/realm-core/pull/2297","id":189006509,"number":2297,"title":"Optimized contains queries to use Boyer-Moore search","user":{"login":"astigsen","id":69422,"avatar_url":"https://avatars.githubusercontent.com/u/69422?v=3","gravatar_id":"","url":"https://api.github.com/users/astigsen","html_url":"https://github.com/astigsen","followers_url":"https://api.github.com/users/astigsen/followers","following_url":"https://api.github.com/users/astigsen/following{/other_user}","gists_url":"https://api.github.com/users/astigsen/gists{/gist_id}","starred_url":"https://api.github.com/users/astigsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astigsen/subscriptions","organizations_url":"https://api.github.com/users/astigsen/orgs","repos_url":"https://api.github.com/users/astigsen/repos","events_url":"https://api.github.com/users/astigsen/events{/privacy}","received_events_url":"https://api.github.com/users/astigsen/received_events","type":"User","site_admin":false},"labels":[{"id":211099167,"url":"https://api.github.com/repos/realm/realm-core/labels/S:Review","name":"S:Review","color":"ededed","default":false}],"state":"open","locked":false,"assignee":{"login":"astigsen","id":69422,"avatar_url":"https://avatars.githubusercontent.com/u/69422?v=3","gravatar_id":"","url":"https://api.github.com/users/astigsen","html_url":"https://github.com/astigsen","followers_url":"https://api.github.com/users/astigsen/followers","following_url":"https://api.github.com/users/astigsen/following{/other_user}","gists_url":"https://api.github.com/users/astigsen/gists{/gist_id}","starred_url":"https://api.github.com/users/astigsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astigsen/subscriptions","organizations_url":"https://api.github.com/users/astigsen/orgs","repos_url":"https://api.github.com/users/astigsen/repos","events_url":"https://api.github.com/users/astigsen/events{/privacy}","received_events_url":"https://api.github.com/users/astigsen/received_events","type":"User","site_admin":false},"assignees":[{"login":"astigsen","id":69422,"avatar_url":"https://avatars.githubusercontent.com/u/69422?v=3","gravatar_id":"","url":"https://api.github.com/users/astigsen","html_url":"https://github.com/astigsen","followers_url":"https://api.github.com/users/astigsen/followers","following_url":"https://api.github.com/users/astigsen/following{/other_user}","gists_url":"https://api.github.com/users/astigsen/gists{/gist_id}","starred_url":"https://api.github.com/users/astigsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astigsen/subscriptions","organizations_url":"https://api.github.com/users/astigsen/orgs","repos_url":"https://api.github.com/users/astigsen/repos","events_url":"https://api.github.com/users/astigsen/events{/privacy}","received_events_url":"https://api.github.com/users/astigsen/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-11-14T00:23:01Z","updated_at":"2016-11-14T08:49:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/realm/realm-core/pulls/2297","html_url":"https://github.com/realm/realm-core/pull/2297","diff_url":"https://github.com/realm/realm-core/pull/2297.diff","patch_url":"https://github.com/realm/realm-core/pull/2297.patch"},"body":"I had a lot of off time on my flight from CPH, so I spend a bit of it playing around with optimizing the contains search. Being on the plane, I had to implement Boyer-Moore from memory, so please review thoroughly ;-)\r\n\r\nWhen doing a case insensitive search over 300,000 rows it improves the search time from 7.49s to 542.93ms, so around a 13x improvement."},"comment":{"url":"https://api.github.com/repos/realm/realm-core/issues/comments/260279440","html_url":"https://github.com/realm/realm-core/pull/2297#issuecomment-260279440","issue_url":"https://api.github.com/repos/realm/realm-core/issues/2297","id":260279440,"user":{"login":"bmunkholm","id":1215687,"avatar_url":"https://avatars.githubusercontent.com/u/1215687?v=3","gravatar_id":"","url":"https://api.github.com/users/bmunkholm","html_url":"https://github.com/bmunkholm","followers_url":"https://api.github.com/users/bmunkholm/followers","following_url":"https://api.github.com/users/bmunkholm/following{/other_user}","gists_url":"https://api.github.com/users/bmunkholm/gists{/gist_id}","starred_url":"https://api.github.com/users/bmunkholm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmunkholm/subscriptions","organizations_url":"https://api.github.com/users/bmunkholm/orgs","repos_url":"https://api.github.com/users/bmunkholm/repos","events_url":"https://api.github.com/users/bmunkholm/events{/privacy}","received_events_url":"https://api.github.com/users/bmunkholm/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T08:49:25Z","updated_at":"2016-11-14T08:49:25Z","body":"Update release note"}}
{"actor":{"display_login":"bmunkholm"}}