{"action":"created","issue":{"url":"https://api.github.com/repos/composer/composer/issues/4672","labels_url":"https://api.github.com/repos/composer/composer/issues/4672/labels{/name}","comments_url":"https://api.github.com/repos/composer/composer/issues/4672/comments","events_url":"https://api.github.com/repos/composer/composer/issues/4672/events","html_url":"https://github.com/composer/composer/pull/4672","id":120402755,"number":4672,"title":"[ClassLoader] performance improvement: use str_replace instead of strtr","user":{"login":"Tobion","id":610090,"avatar_url":"https://avatars.githubusercontent.com/u/610090?v=3","gravatar_id":"","url":"https://api.github.com/users/Tobion","html_url":"https://github.com/Tobion","followers_url":"https://api.github.com/users/Tobion/followers","following_url":"https://api.github.com/users/Tobion/following{/other_user}","gists_url":"https://api.github.com/users/Tobion/gists{/gist_id}","starred_url":"https://api.github.com/users/Tobion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tobion/subscriptions","organizations_url":"https://api.github.com/users/Tobion/orgs","repos_url":"https://api.github.com/users/Tobion/repos","events_url":"https://api.github.com/users/Tobion/events{/privacy}","received_events_url":"https://api.github.com/users/Tobion/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/composer/composer/labels/Needs%20Benchmark","name":"Needs Benchmark","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-04T13:35:05Z","updated_at":"2015-12-07T16:22:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/composer/composer/pulls/4672","html_url":"https://github.com/composer/composer/pull/4672","diff_url":"https://github.com/composer/composer/pull/4672.diff","patch_url":"https://github.com/composer/composer/pull/4672.patch"},"body":"str_replace is faster than strtr for this use-case. See symfony/symfony#15614\r\n\r\nAnd we can even skip the str_replace on Windows completely."},"comment":{"url":"https://api.github.com/repos/composer/composer/issues/comments/162575063","html_url":"https://github.com/composer/composer/pull/4672#issuecomment-162575063","issue_url":"https://api.github.com/repos/composer/composer/issues/4672","id":162575063,"user":{"login":"alcohol","id":21414,"avatar_url":"https://avatars.githubusercontent.com/u/21414?v=3","gravatar_id":"","url":"https://api.github.com/users/alcohol","html_url":"https://github.com/alcohol","followers_url":"https://api.github.com/users/alcohol/followers","following_url":"https://api.github.com/users/alcohol/following{/other_user}","gists_url":"https://api.github.com/users/alcohol/gists{/gist_id}","starred_url":"https://api.github.com/users/alcohol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alcohol/subscriptions","organizations_url":"https://api.github.com/users/alcohol/orgs","repos_url":"https://api.github.com/users/alcohol/repos","events_url":"https://api.github.com/users/alcohol/events{/privacy}","received_events_url":"https://api.github.com/users/alcohol/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T16:22:07Z","updated_at":"2015-12-07T16:22:07Z","body":"I didn't notice the link in the referenced PR the first time.\r\n\r\nIt seems a minor increase could be won here. But I will have to defer to @seldaek to confirm if the change for Windows is valid or not."}}