{"action":"created","issue":{"url":"https://api.github.com/repos/casadi/casadi/issues/1064","labels_url":"https://api.github.com/repos/casadi/casadi/issues/1064/labels{/name}","comments_url":"https://api.github.com/repos/casadi/casadi/issues/1064/comments","events_url":"https://api.github.com/repos/casadi/casadi/issues/1064/events","html_url":"https://github.com/casadi/casadi/issues/1064","id":30473777,"number":1064,"title":"implement \"map\" and \"fold\" for MX","user":{"login":"ghorn","id":375331,"avatar_url":"https://avatars.githubusercontent.com/u/375331?v=3","gravatar_id":"","url":"https://api.github.com/users/ghorn","html_url":"https://github.com/ghorn","followers_url":"https://api.github.com/users/ghorn/followers","following_url":"https://api.github.com/users/ghorn/following{/other_user}","gists_url":"https://api.github.com/users/ghorn/gists{/gist_id}","starred_url":"https://api.github.com/users/ghorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghorn/subscriptions","organizations_url":"https://api.github.com/users/ghorn/orgs","repos_url":"https://api.github.com/users/ghorn/repos","events_url":"https://api.github.com/users/ghorn/events{/privacy}","received_events_url":"https://api.github.com/users/ghorn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/casadi/casadi/labels/major","name":"major","color":"b22222"}],"state":"open","locked":false,"assignee":{"login":"jaeandersson","id":2487645,"avatar_url":"https://avatars.githubusercontent.com/u/2487645?v=3","gravatar_id":"","url":"https://api.github.com/users/jaeandersson","html_url":"https://github.com/jaeandersson","followers_url":"https://api.github.com/users/jaeandersson/followers","following_url":"https://api.github.com/users/jaeandersson/following{/other_user}","gists_url":"https://api.github.com/users/jaeandersson/gists{/gist_id}","starred_url":"https://api.github.com/users/jaeandersson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaeandersson/subscriptions","organizations_url":"https://api.github.com/users/jaeandersson/orgs","repos_url":"https://api.github.com/users/jaeandersson/repos","events_url":"https://api.github.com/users/jaeandersson/events{/privacy}","received_events_url":"https://api.github.com/users/jaeandersson/received_events","type":"User","site_admin":false},"milestone":null,"comments":21,"created_at":"2014-03-30T20:21:45Z","updated_at":"2015-04-16T17:32:05Z","closed_at":null,"body":"When I code generate for optimal control problems, the amount of generated code is proportional to the horizon length, even though the symbolics were basically created with for loops. If there were atomic map and fold operations, the generated code could use for loops and generated code size would be independent of horizon length. This would be a pretty huge deal I think."},"comment":{"url":"https://api.github.com/repos/casadi/casadi/issues/comments/93791930","html_url":"https://github.com/casadi/casadi/issues/1064#issuecomment-93791930","issue_url":"https://api.github.com/repos/casadi/casadi/issues/1064","id":93791930,"user":{"login":"ghorn","id":375331,"avatar_url":"https://avatars.githubusercontent.com/u/375331?v=3","gravatar_id":"","url":"https://api.github.com/users/ghorn","html_url":"https://github.com/ghorn","followers_url":"https://api.github.com/users/ghorn/followers","following_url":"https://api.github.com/users/ghorn/following{/other_user}","gists_url":"https://api.github.com/users/ghorn/gists{/gist_id}","starred_url":"https://api.github.com/users/ghorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghorn/subscriptions","organizations_url":"https://api.github.com/users/ghorn/orgs","repos_url":"https://api.github.com/users/ghorn/repos","events_url":"https://api.github.com/users/ghorn/events{/privacy}","received_events_url":"https://api.github.com/users/ghorn/received_events","type":"User","site_admin":false},"created_at":"2015-04-16T17:32:05Z","updated_at":"2015-04-16T17:32:05Z","body":"@jgillis you are doing opencl runs?"}}