{"action":"created","issue":{"url":"https://api.github.com/repos/netty/netty/issues/7202","repository_url":"https://api.github.com/repos/netty/netty","labels_url":"https://api.github.com/repos/netty/netty/issues/7202/labels{/name}","comments_url":"https://api.github.com/repos/netty/netty/issues/7202/comments","events_url":"https://api.github.com/repos/netty/netty/issues/7202/events","html_url":"https://github.com/netty/netty/pull/7202","id":257309505,"number":7202,"title":"Use offset finding eol avoid repeated scaning.","user":{"login":"MengJie","id":171946,"avatar_url":"https://avatars3.githubusercontent.com/u/171946?v=4","gravatar_id":"","url":"https://api.github.com/users/MengJie","html_url":"https://github.com/MengJie","followers_url":"https://api.github.com/users/MengJie/followers","following_url":"https://api.github.com/users/MengJie/following{/other_user}","gists_url":"https://api.github.com/users/MengJie/gists{/gist_id}","starred_url":"https://api.github.com/users/MengJie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MengJie/subscriptions","organizations_url":"https://api.github.com/users/MengJie/orgs","repos_url":"https://api.github.com/users/MengJie/repos","events_url":"https://api.github.com/users/MengJie/events{/privacy}","received_events_url":"https://api.github.com/users/MengJie/received_events","type":"User","site_admin":false},"labels":[{"id":185727,"url":"https://api.github.com/repos/netty/netty/labels/defect","name":"defect","color":"e11d21","default":false}],"state":"closed","locked":false,"assignee":{"login":"normanmaurer","id":439362,"avatar_url":"https://avatars3.githubusercontent.com/u/439362?v=4","gravatar_id":"","url":"https://api.github.com/users/normanmaurer","html_url":"https://github.com/normanmaurer","followers_url":"https://api.github.com/users/normanmaurer/followers","following_url":"https://api.github.com/users/normanmaurer/following{/other_user}","gists_url":"https://api.github.com/users/normanmaurer/gists{/gist_id}","starred_url":"https://api.github.com/users/normanmaurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/normanmaurer/subscriptions","organizations_url":"https://api.github.com/users/normanmaurer/orgs","repos_url":"https://api.github.com/users/normanmaurer/repos","events_url":"https://api.github.com/users/normanmaurer/events{/privacy}","received_events_url":"https://api.github.com/users/normanmaurer/received_events","type":"User","site_admin":false},"assignees":[{"login":"normanmaurer","id":439362,"avatar_url":"https://avatars3.githubusercontent.com/u/439362?v=4","gravatar_id":"","url":"https://api.github.com/users/normanmaurer","html_url":"https://github.com/normanmaurer","followers_url":"https://api.github.com/users/normanmaurer/followers","following_url":"https://api.github.com/users/normanmaurer/following{/other_user}","gists_url":"https://api.github.com/users/normanmaurer/gists{/gist_id}","starred_url":"https://api.github.com/users/normanmaurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/normanmaurer/subscriptions","organizations_url":"https://api.github.com/users/normanmaurer/orgs","repos_url":"https://api.github.com/users/normanmaurer/repos","events_url":"https://api.github.com/users/normanmaurer/events{/privacy}","received_events_url":"https://api.github.com/users/normanmaurer/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/netty/netty/milestones/172","html_url":"https://github.com/netty/netty/milestone/172","labels_url":"https://api.github.com/repos/netty/netty/milestones/172/labels","id":2720452,"number":172,"title":"4.0.52.Final","description":"","creator":{"login":"normanmaurer","id":439362,"avatar_url":"https://avatars3.githubusercontent.com/u/439362?v=4","gravatar_id":"","url":"https://api.github.com/users/normanmaurer","html_url":"https://github.com/normanmaurer","followers_url":"https://api.github.com/users/normanmaurer/followers","following_url":"https://api.github.com/users/normanmaurer/following{/other_user}","gists_url":"https://api.github.com/users/normanmaurer/gists{/gist_id}","starred_url":"https://api.github.com/users/normanmaurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/normanmaurer/subscriptions","organizations_url":"https://api.github.com/users/normanmaurer/orgs","repos_url":"https://api.github.com/users/normanmaurer/repos","events_url":"https://api.github.com/users/normanmaurer/events{/privacy}","received_events_url":"https://api.github.com/users/normanmaurer/received_events","type":"User","site_admin":false},"open_issues":38,"closed_issues":22,"state":"open","created_at":"2017-08-24T09:04:52Z","updated_at":"2017-09-17T16:20:51Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2017-09-13T09:11:46Z","updated_at":"2017-09-18T00:48:44Z","closed_at":"2017-09-17T16:20:51Z","author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/netty/netty/pulls/7202","html_url":"https://github.com/netty/netty/pull/7202","diff_url":"https://github.com/netty/netty/pull/7202.diff","patch_url":"https://github.com/netty/netty/pull/7202.patch"},"body":"Motivation:\r\n\r\nA large frame will be componsed by many packages. Every time the package\r\narrived, findEndOfLine will be called from the start of the buffer. It\r\nwill cause the complexity of reading frame equal to  O(n^2). This can be\r\neliminated by using a offset to mark the last scan position, when new\r\npackage arrived, just find the delimter from the mark. The complexity\r\nwill be O(n).\r\n\r\nModification:\r\nAdd a offset to mark the last scan position.\r\n\r\nResult:\r\nBetter performance for read large frame.\r\n"},"comment":{"url":"https://api.github.com/repos/netty/netty/issues/comments/330106342","html_url":"https://github.com/netty/netty/pull/7202#issuecomment-330106342","issue_url":"https://api.github.com/repos/netty/netty/issues/7202","id":330106342,"user":{"login":"MengJie","id":171946,"avatar_url":"https://avatars3.githubusercontent.com/u/171946?v=4","gravatar_id":"","url":"https://api.github.com/users/MengJie","html_url":"https://github.com/MengJie","followers_url":"https://api.github.com/users/MengJie/followers","following_url":"https://api.github.com/users/MengJie/following{/other_user}","gists_url":"https://api.github.com/users/MengJie/gists{/gist_id}","starred_url":"https://api.github.com/users/MengJie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MengJie/subscriptions","organizations_url":"https://api.github.com/users/MengJie/orgs","repos_url":"https://api.github.com/users/MengJie/repos","events_url":"https://api.github.com/users/MengJie/events{/privacy}","received_events_url":"https://api.github.com/users/MengJie/received_events","type":"User","site_admin":false},"created_at":"2017-09-18T00:48:44Z","updated_at":"2017-09-18T00:48:44Z","author_association":"NONE","body":"@normanmaurer thanks!"}}
{"actor":{"display_login":"MengJie"}}