{"action":"created","issue":{"url":"https://api.github.com/repos/dcodeIO/AssemblyScript/issues/97","repository_url":"https://api.github.com/repos/dcodeIO/AssemblyScript","labels_url":"https://api.github.com/repos/dcodeIO/AssemblyScript/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/dcodeIO/AssemblyScript/issues/97/comments","events_url":"https://api.github.com/repos/dcodeIO/AssemblyScript/issues/97/events","html_url":"https://github.com/dcodeIO/AssemblyScript/issues/97","id":246860871,"number":97,"title":"Dynamic arrays","user":{"login":"MaxGraey","id":1301959,"avatar_url":"https://avatars3.githubusercontent.com/u/1301959?v=4","gravatar_id":"","url":"https://api.github.com/users/MaxGraey","html_url":"https://github.com/MaxGraey","followers_url":"https://api.github.com/users/MaxGraey/followers","following_url":"https://api.github.com/users/MaxGraey/following{/other_user}","gists_url":"https://api.github.com/users/MaxGraey/gists{/gist_id}","starred_url":"https://api.github.com/users/MaxGraey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaxGraey/subscriptions","organizations_url":"https://api.github.com/users/MaxGraey/orgs","repos_url":"https://api.github.com/users/MaxGraey/repos","events_url":"https://api.github.com/users/MaxGraey/events{/privacy}","received_events_url":"https://api.github.com/users/MaxGraey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-07-31T19:37:05Z","updated_at":"2017-07-31T19:50:19Z","closed_at":null,"body":"As you know I try to implement resizeable arrays and its methods but I has some problems and need some advisements.\r\n\r\n```unsafeGrow``` return new pointer to reallocated memory, but current Array's implementation hasn't aggregated pointer to this memory. Header (length and capacity) store in the same place as array's data in optimisation reason as I understand. After **unsafeGrow** we need somehow update our pointer (**this** pointer) to instance of array but this is not possible. One possible solution for resolving this - is make pointer to data in aggregated style, but in this case we need implicit access to elements via **index operator** or hardcoded this operation on compiler side. What do you think?"},"comment":{"url":"https://api.github.com/repos/dcodeIO/AssemblyScript/issues/comments/319176700","html_url":"https://github.com/dcodeIO/AssemblyScript/issues/97#issuecomment-319176700","issue_url":"https://api.github.com/repos/dcodeIO/AssemblyScript/issues/97","id":319176700,"user":{"login":"MaxGraey","id":1301959,"avatar_url":"https://avatars3.githubusercontent.com/u/1301959?v=4","gravatar_id":"","url":"https://api.github.com/users/MaxGraey","html_url":"https://github.com/MaxGraey","followers_url":"https://api.github.com/users/MaxGraey/followers","following_url":"https://api.github.com/users/MaxGraey/following{/other_user}","gists_url":"https://api.github.com/users/MaxGraey/gists{/gist_id}","starred_url":"https://api.github.com/users/MaxGraey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaxGraey/subscriptions","organizations_url":"https://api.github.com/users/MaxGraey/orgs","repos_url":"https://api.github.com/users/MaxGraey/repos","events_url":"https://api.github.com/users/MaxGraey/events{/privacy}","received_events_url":"https://api.github.com/users/MaxGraey/received_events","type":"User","site_admin":false},"created_at":"2017-07-31T19:50:19Z","updated_at":"2017-07-31T19:50:19Z","body":"Unfortunately **unsafeGrow** not work as expected "}}
{"actor":{"display_login":"MaxGraey"}}