{"action":"created","issue":{"url":"https://api.github.com/repos/jhy/jsoup/issues/755","repository_url":"https://api.github.com/repos/jhy/jsoup","labels_url":"https://api.github.com/repos/jhy/jsoup/issues/755/labels{/name}","comments_url":"https://api.github.com/repos/jhy/jsoup/issues/755/comments","events_url":"https://api.github.com/repos/jhy/jsoup/issues/755/events","html_url":"https://github.com/jhy/jsoup/pull/755","id":172786615,"number":755,"title":"Optimize Attribute#iterator","user":{"login":"benbenw","id":5681005,"avatar_url":"https://avatars.githubusercontent.com/u/5681005?v=3","gravatar_id":"","url":"https://api.github.com/users/benbenw","html_url":"https://github.com/benbenw","followers_url":"https://api.github.com/users/benbenw/followers","following_url":"https://api.github.com/users/benbenw/following{/other_user}","gists_url":"https://api.github.com/users/benbenw/gists{/gist_id}","starred_url":"https://api.github.com/users/benbenw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benbenw/subscriptions","organizations_url":"https://api.github.com/users/benbenw/orgs","repos_url":"https://api.github.com/users/benbenw/repos","events_url":"https://api.github.com/users/benbenw/events{/privacy}","received_events_url":"https://api.github.com/users/benbenw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-23T19:33:58Z","updated_at":"2016-08-25T15:24:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jhy/jsoup/pulls/755","html_url":"https://github.com/jhy/jsoup/pull/755","diff_url":"https://github.com/jhy/jsoup/pull/755.diff","patch_url":"https://github.com/jhy/jsoup/pull/755.patch"},"body":"It allocates a lot of memory during the parsing through\r\nParseSettings#normalizeAttributes.\r\nthis new implementation just wrap the LinkedHashMap values iterator in a\r\nread-only iterator.\r\n\r\nIterating 1000 times over an internal html file (~800Kb) was allocating\r\n970Mb, with this optimization it's now 350Mb\r\n\r\nFixes #754"},"comment":{"url":"https://api.github.com/repos/jhy/jsoup/issues/comments/242427943","html_url":"https://github.com/jhy/jsoup/pull/755#issuecomment-242427943","issue_url":"https://api.github.com/repos/jhy/jsoup/issues/755","id":242427943,"user":{"login":"pmouawad","id":3127467,"avatar_url":"https://avatars.githubusercontent.com/u/3127467?v=3","gravatar_id":"","url":"https://api.github.com/users/pmouawad","html_url":"https://github.com/pmouawad","followers_url":"https://api.github.com/users/pmouawad/followers","following_url":"https://api.github.com/users/pmouawad/following{/other_user}","gists_url":"https://api.github.com/users/pmouawad/gists{/gist_id}","starred_url":"https://api.github.com/users/pmouawad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmouawad/subscriptions","organizations_url":"https://api.github.com/users/pmouawad/orgs","repos_url":"https://api.github.com/users/pmouawad/repos","events_url":"https://api.github.com/users/pmouawad/events{/privacy}","received_events_url":"https://api.github.com/users/pmouawad/received_events","type":"User","site_admin":false},"created_at":"2016-08-25T15:24:38Z","updated_at":"2016-08-25T15:24:38Z","body":"@jhy ,any plan to release a jsoup version soon ?\r\n\r\nThanks for your nice library and your work.\r\nRegards"}}
{"actor":{"display_login":"pmouawad"}}