{"comment":{"url":"https://api.github.com/repos/evernote/zing/comments/20140457","html_url":"https://github.com/evernote/zing/commit/9ba3cc15a356c0c1a533711e1da6b4f108f77a30#commitcomment-20140457","id":20140457,"user":{"login":"iafan","id":1728158,"avatar_url":"https://avatars.githubusercontent.com/u/1728158?v=3","gravatar_id":"","url":"https://api.github.com/users/iafan","html_url":"https://github.com/iafan","followers_url":"https://api.github.com/users/iafan/followers","following_url":"https://api.github.com/users/iafan/following{/other_user}","gists_url":"https://api.github.com/users/iafan/gists{/gist_id}","starred_url":"https://api.github.com/users/iafan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iafan/subscriptions","organizations_url":"https://api.github.com/users/iafan/orgs","repos_url":"https://api.github.com/users/iafan/repos","events_url":"https://api.github.com/users/iafan/events{/privacy}","received_events_url":"https://api.github.com/users/iafan/received_events","type":"User","site_admin":false},"position":21,"line":158,"path":"pootle/apps/pootle_store/unit/results.py","commit_id":"9ba3cc15a356c0c1a533711e1da6b4f108f77a30","created_at":"2016-12-09T21:29:14Z","updated_at":"2016-12-09T21:29:14Z","body":"Dict lookups are faster. In my tests (searching for an uid in a list of 500 uids and in a dict with 500 keys) the dict version was 37 times faster. For smaller lists of 20 items dict is 2.5 times faster. This might look like a premature optimization, but since making a dict out of the list is trivial, I don't see any reason why we would like not to have a dict here."}}
{"actor":{"display_login":"iafan"}}