{"action":"created","issue":{"url":"https://api.github.com/repos/solettaproject/soletta/issues/1850","repository_url":"https://api.github.com/repos/solettaproject/soletta","labels_url":"https://api.github.com/repos/solettaproject/soletta/issues/1850/labels{/name}","comments_url":"https://api.github.com/repos/solettaproject/soletta/issues/1850/comments","events_url":"https://api.github.com/repos/solettaproject/soletta/issues/1850/events","html_url":"https://github.com/solettaproject/soletta/pull/1850","id":146927964,"number":1850,"title":"Flow uniform string to packet","user":{"login":"barbieri","id":1838,"avatar_url":"https://avatars.githubusercontent.com/u/1838?v=3","gravatar_id":"","url":"https://api.github.com/users/barbieri","html_url":"https://github.com/barbieri","followers_url":"https://api.github.com/users/barbieri/followers","following_url":"https://api.github.com/users/barbieri/following{/other_user}","gists_url":"https://api.github.com/users/barbieri/gists{/gist_id}","starred_url":"https://api.github.com/users/barbieri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barbieri/subscriptions","organizations_url":"https://api.github.com/users/barbieri/orgs","repos_url":"https://api.github.com/users/barbieri/repos","events_url":"https://api.github.com/users/barbieri/events{/privacy}","received_events_url":"https://api.github.com/users/barbieri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-08T13:20:41Z","updated_at":"2016-04-08T14:43:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/solettaproject/soletta/pulls/1850","html_url":"https://github.com/solettaproject/soletta/pull/1850","diff_url":"https://github.com/solettaproject/soletta/pull/1850.diff","patch_url":"https://github.com/solettaproject/soletta/pull/1850.patch"},"body":"I'm starting a huge rework of the sol-flow internals in order to help with memory consumption. Since the patchset is likely to be big and I can't work on all of it in one go, I'll submit intermediate stages as I do it.\r\n\r\nThis is the first step and makes the string to packet type conversion unified in `sol-flow-packet.h`, this one will cover the simple types and also composed, creating if required, so we don't spread that parsing all over the place.\r\n\r\nThere is a drawback: if this new function is used, then all packet types will be held. I've noticed that most of the users of the packet type don't actually need them if we offer introspection to serialize/parse based on memory description, like JS or HTTP nodes. Then with the future cleanups this may be minimized.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/solettaproject/soletta/issues/comments/207458961","html_url":"https://github.com/solettaproject/soletta/pull/1850#issuecomment-207458961","issue_url":"https://api.github.com/repos/solettaproject/soletta/issues/1850","id":207458961,"user":{"login":"cabelitos","id":984610,"avatar_url":"https://avatars.githubusercontent.com/u/984610?v=3","gravatar_id":"","url":"https://api.github.com/users/cabelitos","html_url":"https://github.com/cabelitos","followers_url":"https://api.github.com/users/cabelitos/followers","following_url":"https://api.github.com/users/cabelitos/following{/other_user}","gists_url":"https://api.github.com/users/cabelitos/gists{/gist_id}","starred_url":"https://api.github.com/users/cabelitos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cabelitos/subscriptions","organizations_url":"https://api.github.com/users/cabelitos/orgs","repos_url":"https://api.github.com/users/cabelitos/repos","events_url":"https://api.github.com/users/cabelitos/events{/privacy}","received_events_url":"https://api.github.com/users/cabelitos/received_events","type":"User","site_admin":false},"created_at":"2016-04-08T14:43:19Z","updated_at":"2016-04-08T14:43:19Z","body":"+1"}}