{"action":"created","issue":{"url":"https://api.github.com/repos/mapserver/mapserver/issues/5259","repository_url":"https://api.github.com/repos/mapserver/mapserver","labels_url":"https://api.github.com/repos/mapserver/mapserver/issues/5259/labels{/name}","comments_url":"https://api.github.com/repos/mapserver/mapserver/issues/5259/comments","events_url":"https://api.github.com/repos/mapserver/mapserver/issues/5259/events","html_url":"https://github.com/mapserver/mapserver/pull/5259","id":137526543,"number":5259,"title":"Avoid calling msProjectionsDiffer over and over again","user":{"login":"tbonfort","id":358469,"avatar_url":"https://avatars.githubusercontent.com/u/358469?v=3","gravatar_id":"","url":"https://api.github.com/users/tbonfort","html_url":"https://github.com/tbonfort","followers_url":"https://api.github.com/users/tbonfort/followers","following_url":"https://api.github.com/users/tbonfort/following{/other_user}","gists_url":"https://api.github.com/users/tbonfort/gists{/gist_id}","starred_url":"https://api.github.com/users/tbonfort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbonfort/subscriptions","organizations_url":"https://api.github.com/users/tbonfort/orgs","repos_url":"https://api.github.com/users/tbonfort/repos","events_url":"https://api.github.com/users/tbonfort/events{/privacy}","received_events_url":"https://api.github.com/users/tbonfort/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-01T09:59:08Z","updated_at":"2016-03-01T15:29:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mapserver/mapserver/pulls/5259","html_url":"https://github.com/mapserver/mapserver/pull/5259","diff_url":"https://github.com/mapserver/mapserver/pull/5259.diff","patch_url":"https://github.com/mapserver/mapserver/pull/5259.patch"},"body":"As reported on the mailing list in http://osgeo-org.1560.x6.nabble.com/Performance-issue-with-MS-7-x-td5253419.html , there is a performance issue that became visible once the code to ```msProjectionsDiffer``` became more complicated with eeb1e786. This PR aims to set ```layer->project``` when necessary and then avoid calling ```msProjectionsDiffer``` over and over (for each feature)\r\ncc @pmauduit @yjacolin \r\n"},"comment":{"url":"https://api.github.com/repos/mapserver/mapserver/issues/comments/190771012","html_url":"https://github.com/mapserver/mapserver/pull/5259#issuecomment-190771012","issue_url":"https://api.github.com/repos/mapserver/mapserver/issues/5259","id":190771012,"user":{"login":"yjacolin","id":660191,"avatar_url":"https://avatars.githubusercontent.com/u/660191?v=3","gravatar_id":"","url":"https://api.github.com/users/yjacolin","html_url":"https://github.com/yjacolin","followers_url":"https://api.github.com/users/yjacolin/followers","following_url":"https://api.github.com/users/yjacolin/following{/other_user}","gists_url":"https://api.github.com/users/yjacolin/gists{/gist_id}","starred_url":"https://api.github.com/users/yjacolin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yjacolin/subscriptions","organizations_url":"https://api.github.com/users/yjacolin/orgs","repos_url":"https://api.github.com/users/yjacolin/repos","events_url":"https://api.github.com/users/yjacolin/events{/privacy}","received_events_url":"https://api.github.com/users/yjacolin/received_events","type":"User","site_admin":false},"created_at":"2016-03-01T15:29:18Z","updated_at":"2016-03-01T15:29:18Z","body":"we will test this soon. Thanks!"}}