{"action":"created","issue":{"url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/issues/35","labels_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/issues/35/comments","events_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/issues/35/events","html_url":"https://github.com/samp-incognito/samp-streamer-plugin/issues/35","id":53085805,"number":35,"title":"Optimize variables ","user":{"login":"kurta999","id":7610293,"avatar_url":"https://avatars.githubusercontent.com/u/7610293?v=3","gravatar_id":"","url":"https://api.github.com/users/kurta999","html_url":"https://github.com/kurta999","followers_url":"https://api.github.com/users/kurta999/followers","following_url":"https://api.github.com/users/kurta999/following{/other_user}","gists_url":"https://api.github.com/users/kurta999/gists{/gist_id}","starred_url":"https://api.github.com/users/kurta999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kurta999/subscriptions","organizations_url":"https://api.github.com/users/kurta999/orgs","repos_url":"https://api.github.com/users/kurta999/repos","events_url":"https://api.github.com/users/kurta999/events{/privacy}","received_events_url":"https://api.github.com/users/kurta999/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-12-30T01:17:33Z","updated_at":"2015-01-06T10:35:10Z","closed_at":null,"body":"What would be if you would optimize variables to not use int for everything? This would save lot of memory if you use very big amount of items. \r\n\r\nWORD for playerid\r\n\r\nWORD for object modelid\r\nBYTE for area type\r\n\r\nBYTE for mapicon style, type\r\n\r\netc etc etc\r\n\r\nThere are lot of place where optimalization would be good."},"comment":{"url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/issues/comments/68850085","html_url":"https://github.com/samp-incognito/samp-streamer-plugin/issues/35#issuecomment-68850085","issue_url":"https://api.github.com/repos/samp-incognito/samp-streamer-plugin/issues/35","id":68850085,"user":{"login":"JernejL","id":1741375,"avatar_url":"https://avatars.githubusercontent.com/u/1741375?v=3","gravatar_id":"","url":"https://api.github.com/users/JernejL","html_url":"https://github.com/JernejL","followers_url":"https://api.github.com/users/JernejL/followers","following_url":"https://api.github.com/users/JernejL/following{/other_user}","gists_url":"https://api.github.com/users/JernejL/gists{/gist_id}","starred_url":"https://api.github.com/users/JernejL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JernejL/subscriptions","organizations_url":"https://api.github.com/users/JernejL/orgs","repos_url":"https://api.github.com/users/JernejL/repos","events_url":"https://api.github.com/users/JernejL/events{/privacy}","received_events_url":"https://api.github.com/users/JernejL/received_events","type":"User","site_admin":false},"created_at":"2015-01-06T10:35:10Z","updated_at":"2015-01-06T10:35:10Z","body":"a native cpu bit alignment is usually beneficial for performance more than potential memory savings could provide.. imo."}}