{"action":"created","issue":{"url":"https://api.github.com/repos/weaveworks/scope/issues/2364","repository_url":"https://api.github.com/repos/weaveworks/scope","labels_url":"https://api.github.com/repos/weaveworks/scope/issues/2364/labels{/name}","comments_url":"https://api.github.com/repos/weaveworks/scope/issues/2364/comments","events_url":"https://api.github.com/repos/weaveworks/scope/issues/2364/events","html_url":"https://github.com/weaveworks/scope/pull/2364","id":215678722,"number":2364,"title":"Map decode optimisations","user":{"login":"bboreham","id":8125524,"avatar_url":"https://avatars1.githubusercontent.com/u/8125524?v=3","gravatar_id":"","url":"https://api.github.com/users/bboreham","html_url":"https://github.com/bboreham","followers_url":"https://api.github.com/users/bboreham/followers","following_url":"https://api.github.com/users/bboreham/following{/other_user}","gists_url":"https://api.github.com/users/bboreham/gists{/gist_id}","starred_url":"https://api.github.com/users/bboreham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bboreham/subscriptions","organizations_url":"https://api.github.com/users/bboreham/orgs","repos_url":"https://api.github.com/users/bboreham/repos","events_url":"https://api.github.com/users/bboreham/events{/privacy}","received_events_url":"https://api.github.com/users/bboreham/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-03-21T09:42:33Z","updated_at":"2017-03-22T11:18:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/weaveworks/scope/pulls/2364","html_url":"https://github.com/weaveworks/scope/pull/2364","diff_url":"https://github.com/weaveworks/scope/pull/2364.diff","patch_url":"https://github.com/weaveworks/scope/pull/2364.patch"},"body":"This is branched after #2351, so look at that one first.\r\n\r\nHere I apply the the map-reading code taken from `LatestMap` to other uses of `ps.Map`; this removes the indirection via a Go map and consequent copying.\r\n\r\nAlso call `CodecDecodeSelf()` instead of `Decode()` where possible: this avoids a runtime type lookup, so goes a little faster.  I had to get a little funky with providing an implementation for the parser to run before the real codec code is generated; that is the purpose of `dummySelfer`.\r\n\r\nBonus: having less recursion through `Decode()` makes it easier to interpret profiles."},"comment":{"url":"https://api.github.com/repos/weaveworks/scope/issues/comments/288368828","html_url":"https://github.com/weaveworks/scope/pull/2364#issuecomment-288368828","issue_url":"https://api.github.com/repos/weaveworks/scope/issues/2364","id":288368828,"user":{"login":"2opremio","id":2362916,"avatar_url":"https://avatars3.githubusercontent.com/u/2362916?v=3","gravatar_id":"","url":"https://api.github.com/users/2opremio","html_url":"https://github.com/2opremio","followers_url":"https://api.github.com/users/2opremio/followers","following_url":"https://api.github.com/users/2opremio/following{/other_user}","gists_url":"https://api.github.com/users/2opremio/gists{/gist_id}","starred_url":"https://api.github.com/users/2opremio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2opremio/subscriptions","organizations_url":"https://api.github.com/users/2opremio/orgs","repos_url":"https://api.github.com/users/2opremio/repos","events_url":"https://api.github.com/users/2opremio/events{/privacy}","received_events_url":"https://api.github.com/users/2opremio/received_events","type":"User","site_admin":false},"created_at":"2017-03-22T11:18:30Z","updated_at":"2017-03-22T11:18:30Z","body":"OK, fair enough"}}
{"actor":{"display_login":"2opremio"}}