{"action":"created","issue":{"url":"https://api.github.com/repos/mono/MonoGame/issues/3518","repository_url":"https://api.github.com/repos/mono/MonoGame","labels_url":"https://api.github.com/repos/mono/MonoGame/issues/3518/labels{/name}","comments_url":"https://api.github.com/repos/mono/MonoGame/issues/3518/comments","events_url":"https://api.github.com/repos/mono/MonoGame/issues/3518/events","html_url":"https://github.com/mono/MonoGame/pull/3518","id":57394226,"number":3518,"title":"Content readers cache","user":{"login":"nkast","id":3018589,"avatar_url":"https://avatars.githubusercontent.com/u/3018589?v=3","gravatar_id":"","url":"https://api.github.com/users/nkast","html_url":"https://github.com/nkast","followers_url":"https://api.github.com/users/nkast/followers","following_url":"https://api.github.com/users/nkast/following{/other_user}","gists_url":"https://api.github.com/users/nkast/gists{/gist_id}","starred_url":"https://api.github.com/users/nkast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nkast/subscriptions","organizations_url":"https://api.github.com/users/nkast/orgs","repos_url":"https://api.github.com/users/nkast/repos","events_url":"https://api.github.com/users/nkast/events{/privacy}","received_events_url":"https://api.github.com/users/nkast/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":22,"created_at":"2015-02-11T23:29:02Z","updated_at":"2016-03-01T21:51:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mono/MonoGame/pulls/3518","html_url":"https://github.com/mono/MonoGame/pull/3518","diff_url":"https://github.com/mono/MonoGame/pull/3518.diff","patch_url":"https://github.com/mono/MonoGame/pull/3518.patch"},"body":"Here is a memoryPool for byte[] objects used by ContentReaders. I found that this can reduce load/resume times down to 70%.\r\nHaven't tested it on other than DX platforms and probably needs some more work but this thread on community reminded me I need to submit this.\r\nhttp://community.monogame.net/t/loading-huge-content/1942\r\nFeel free to propose any changes to names, functionality, and of course feedback on other platforms, profile data, etc.\r\n\r\n![contentreadersbufferpool](https://cloud.githubusercontent.com/assets/3018589/6158649/3570e6c6-b255-11e4-8e74-420f2d31a1bf.png)\r\n"},"comment":{"url":"https://api.github.com/repos/mono/MonoGame/issues/comments/190922074","html_url":"https://github.com/mono/MonoGame/pull/3518#issuecomment-190922074","issue_url":"https://api.github.com/repos/mono/MonoGame/issues/3518","id":190922074,"user":{"login":"tomspilman","id":103522,"avatar_url":"https://avatars.githubusercontent.com/u/103522?v=3","gravatar_id":"","url":"https://api.github.com/users/tomspilman","html_url":"https://github.com/tomspilman","followers_url":"https://api.github.com/users/tomspilman/followers","following_url":"https://api.github.com/users/tomspilman/following{/other_user}","gists_url":"https://api.github.com/users/tomspilman/gists{/gist_id}","starred_url":"https://api.github.com/users/tomspilman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomspilman/subscriptions","organizations_url":"https://api.github.com/users/tomspilman/orgs","repos_url":"https://api.github.com/users/tomspilman/repos","events_url":"https://api.github.com/users/tomspilman/events{/privacy}","received_events_url":"https://api.github.com/users/tomspilman/received_events","type":"User","site_admin":false},"created_at":"2016-03-01T21:51:30Z","updated_at":"2016-03-01T21:51:30Z","body":"FYI...  I just tested this PR on Vita and it was a good improvement to garbage generation on our current ports."}}