{"action":"created","issue":{"url":"https://api.github.com/repos/xekoukou/metareact/issues/34","labels_url":"https://api.github.com/repos/xekoukou/metareact/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/xekoukou/metareact/issues/34/comments","events_url":"https://api.github.com/repos/xekoukou/metareact/issues/34/events","html_url":"https://github.com/xekoukou/metareact/issues/34","id":52569900,"number":34,"title":"Reuse of stack memory","user":{"login":"xekoukou","id":893652,"avatar_url":"https://avatars.githubusercontent.com/u/893652?v=3","gravatar_id":"","url":"https://api.github.com/users/xekoukou","html_url":"https://github.com/xekoukou","followers_url":"https://api.github.com/users/xekoukou/followers","following_url":"https://api.github.com/users/xekoukou/following{/other_user}","gists_url":"https://api.github.com/users/xekoukou/gists{/gist_id}","starred_url":"https://api.github.com/users/xekoukou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xekoukou/subscriptions","organizations_url":"https://api.github.com/users/xekoukou/orgs","repos_url":"https://api.github.com/users/xekoukou/repos","events_url":"https://api.github.com/users/xekoukou/events{/privacy}","received_events_url":"https://api.github.com/users/xekoukou/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/xekoukou/metareact/labels/wontfix","name":"wontfix","color":"ffffff"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-20T17:06:55Z","updated_at":"2015-02-08T15:12:59Z","closed_at":"2015-02-08T15:12:59Z","body":"There are 2 important algorithms to reduce stack memory.\r\n\r\n1. One finds the correct order of execution so that at any moment the number of variables that are required is minimum.\r\n\r\n2. One finds the correct order of execution so that there is no memory fragmentation in the stack and thus the memory is reusable.\r\n\r\nI do not know of a technique to optimize both problems. \r\n1 is good for garbage collector languages because we don't deal with memory fragmentation ourselves.\r\n2 is important for low level languages like C.\r\n\r\nI will implement an algorithm that implements 2.\r\n"},"comment":{"url":"https://api.github.com/repos/xekoukou/metareact/issues/comments/73414830","html_url":"https://github.com/xekoukou/metareact/issues/34#issuecomment-73414830","issue_url":"https://api.github.com/repos/xekoukou/metareact/issues/34","id":73414830,"user":{"login":"xekoukou","id":893652,"avatar_url":"https://avatars.githubusercontent.com/u/893652?v=3","gravatar_id":"","url":"https://api.github.com/users/xekoukou","html_url":"https://github.com/xekoukou","followers_url":"https://api.github.com/users/xekoukou/followers","following_url":"https://api.github.com/users/xekoukou/following{/other_user}","gists_url":"https://api.github.com/users/xekoukou/gists{/gist_id}","starred_url":"https://api.github.com/users/xekoukou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xekoukou/subscriptions","organizations_url":"https://api.github.com/users/xekoukou/orgs","repos_url":"https://api.github.com/users/xekoukou/repos","events_url":"https://api.github.com/users/xekoukou/events{/privacy}","received_events_url":"https://api.github.com/users/xekoukou/received_events","type":"User","site_admin":false},"created_at":"2015-02-08T15:12:59Z","updated_at":"2015-02-08T15:12:59Z","body":"Not going to happen."}}