{"action":"created","issue":{"url":"https://api.github.com/repos/droolsjbpm/optaplanner/issues/133","labels_url":"https://api.github.com/repos/droolsjbpm/optaplanner/issues/133/labels{/name}","comments_url":"https://api.github.com/repos/droolsjbpm/optaplanner/issues/133/comments","events_url":"https://api.github.com/repos/droolsjbpm/optaplanner/issues/133/events","html_url":"https://github.com/droolsjbpm/optaplanner/pull/133","id":103074448,"number":133,"title":"PLANNER-284: Code style + performance","user":{"login":"oskopek","id":1811716,"avatar_url":"https://avatars.githubusercontent.com/u/1811716?v=3","gravatar_id":"","url":"https://api.github.com/users/oskopek","html_url":"https://github.com/oskopek","followers_url":"https://api.github.com/users/oskopek/followers","following_url":"https://api.github.com/users/oskopek/following{/other_user}","gists_url":"https://api.github.com/users/oskopek/gists{/gist_id}","starred_url":"https://api.github.com/users/oskopek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oskopek/subscriptions","organizations_url":"https://api.github.com/users/oskopek/orgs","repos_url":"https://api.github.com/users/oskopek/repos","events_url":"https://api.github.com/users/oskopek/events{/privacy}","received_events_url":"https://api.github.com/users/oskopek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-25T17:14:13Z","updated_at":"2015-08-26T11:26:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/droolsjbpm/optaplanner/pulls/133","html_url":"https://github.com/droolsjbpm/optaplanner/pull/133","diff_url":"https://github.com/droolsjbpm/optaplanner/pull/133.diff","patch_url":"https://github.com/droolsjbpm/optaplanner/pull/133.patch"},"body":"* Creating a new Map instead of clearing it is debatable, feel free to leave that commit out."},"comment":{"url":"https://api.github.com/repos/droolsjbpm/optaplanner/issues/comments/134955036","html_url":"https://github.com/droolsjbpm/optaplanner/pull/133#issuecomment-134955036","issue_url":"https://api.github.com/repos/droolsjbpm/optaplanner/issues/133","id":134955036,"user":{"login":"ge0ffrey","id":176880,"avatar_url":"https://avatars.githubusercontent.com/u/176880?v=3","gravatar_id":"","url":"https://api.github.com/users/ge0ffrey","html_url":"https://github.com/ge0ffrey","followers_url":"https://api.github.com/users/ge0ffrey/followers","following_url":"https://api.github.com/users/ge0ffrey/following{/other_user}","gists_url":"https://api.github.com/users/ge0ffrey/gists{/gist_id}","starred_url":"https://api.github.com/users/ge0ffrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ge0ffrey/subscriptions","organizations_url":"https://api.github.com/users/ge0ffrey/orgs","repos_url":"https://api.github.com/users/ge0ffrey/repos","events_url":"https://api.github.com/users/ge0ffrey/events{/privacy}","received_events_url":"https://api.github.com/users/ge0ffrey/received_events","type":"User","site_admin":false},"created_at":"2015-08-26T11:26:17Z","updated_at":"2015-08-26T11:26:17Z","body":"I 'll revert the clear() line indeed: if they do heavily use 20 different score levels for 1 match, then the Map capacity will have expanded to 20 already and remain that way after the clear(), improving later performance"}}