{"action":"created","issue":{"url":"https://api.github.com/repos/OpenModelica/OMCompiler/issues/524","repository_url":"https://api.github.com/repos/OpenModelica/OMCompiler","labels_url":"https://api.github.com/repos/OpenModelica/OMCompiler/issues/524/labels{/name}","comments_url":"https://api.github.com/repos/OpenModelica/OMCompiler/issues/524/comments","events_url":"https://api.github.com/repos/OpenModelica/OMCompiler/issues/524/events","html_url":"https://github.com/OpenModelica/OMCompiler/pull/524","id":139983862,"number":524,"title":"Reorder codegen for patterns","user":{"login":"sjoelund","id":3016460,"avatar_url":"https://avatars.githubusercontent.com/u/3016460?v=3","gravatar_id":"","url":"https://api.github.com/users/sjoelund","html_url":"https://github.com/sjoelund","followers_url":"https://api.github.com/users/sjoelund/followers","following_url":"https://api.github.com/users/sjoelund/following{/other_user}","gists_url":"https://api.github.com/users/sjoelund/gists{/gist_id}","starred_url":"https://api.github.com/users/sjoelund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjoelund/subscriptions","organizations_url":"https://api.github.com/users/sjoelund/orgs","repos_url":"https://api.github.com/users/sjoelund/repos","events_url":"https://api.github.com/users/sjoelund/events{/privacy}","received_events_url":"https://api.github.com/users/sjoelund/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-10T19:19:00Z","updated_at":"2016-03-11T07:52:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OpenModelica/OMCompiler/pulls/524","html_url":"https://github.com/OpenModelica/OMCompiler/pull/524","diff_url":"https://github.com/OpenModelica/OMCompiler/pull/524.diff","patch_url":"https://github.com/OpenModelica/OMCompiler/pull/524.patch"},"body":"Calculate patterns that do structural checks before patterns that do\r\nnot perform any structural checks. (So deconstructing a list is\r\nperformed before a simple assignment, etc).\r\n\r\nTesting performance after idea from @hkiel "},"comment":{"url":"https://api.github.com/repos/OpenModelica/OMCompiler/issues/comments/195239687","html_url":"https://github.com/OpenModelica/OMCompiler/pull/524#issuecomment-195239687","issue_url":"https://api.github.com/repos/OpenModelica/OMCompiler/issues/524","id":195239687,"user":{"login":"hkiel","id":9904830,"avatar_url":"https://avatars.githubusercontent.com/u/9904830?v=3","gravatar_id":"","url":"https://api.github.com/users/hkiel","html_url":"https://github.com/hkiel","followers_url":"https://api.github.com/users/hkiel/followers","following_url":"https://api.github.com/users/hkiel/following{/other_user}","gists_url":"https://api.github.com/users/hkiel/gists{/gist_id}","starred_url":"https://api.github.com/users/hkiel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hkiel/subscriptions","organizations_url":"https://api.github.com/users/hkiel/orgs","repos_url":"https://api.github.com/users/hkiel/repos","events_url":"https://api.github.com/users/hkiel/events{/privacy}","received_events_url":"https://api.github.com/users/hkiel/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T07:52:03Z","updated_at":"2016-03-11T07:52:03Z","body":"Hard to tell, because largest overhead currently comes from garbage collection and timing there is unpredictable.\r\n\r\nAs I already said, it might be that the speed advantage could already be done by C compiler, or maybe invalid because of out-of-order execution of CPU.\r\nAt least there is no major advantage, so better go for simplicity..."}}