{"action":"created","issue":{"url":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/564","repository_url":"https://api.github.com/repos/SpongePowered/SpongeCommon","labels_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/564/labels{/name}","comments_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/564/comments","events_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/564/events","html_url":"https://github.com/SpongePowered/SpongeCommon/issues/564","id":138736401,"number":564,"title":"Speed up event snapshots","user":{"login":"gravityfox","id":2382882,"avatar_url":"https://avatars.githubusercontent.com/u/2382882?v=3","gravatar_id":"","url":"https://api.github.com/users/gravityfox","html_url":"https://github.com/gravityfox","followers_url":"https://api.github.com/users/gravityfox/followers","following_url":"https://api.github.com/users/gravityfox/following{/other_user}","gists_url":"https://api.github.com/users/gravityfox/gists{/gist_id}","starred_url":"https://api.github.com/users/gravityfox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gravityfox/subscriptions","organizations_url":"https://api.github.com/users/gravityfox/orgs","repos_url":"https://api.github.com/users/gravityfox/repos","events_url":"https://api.github.com/users/gravityfox/events{/privacy}","received_events_url":"https://api.github.com/users/gravityfox/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SpongePowered/SpongeCommon/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-06T00:12:10Z","updated_at":"2016-05-18T05:44:22Z","closed_at":"2016-05-18T05:44:22Z","body":"Carried over from post-SoS9 conversation, there is talk of optimizing data snapshots that are passed to events.\r\n\r\nAmong the ideas discussed are:\r\n\r\n- Lazy initialization/creation of snapshots\r\n- Stop throwing events when no one is listening\r\n- Using weak references and gc (probably not viable)\r\n- caching snapshots so they don't need to be reconstructed over and over.\r\n\r\nThis is among the several major optimizations that need to be made."},"comment":{"url":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/comments/219930678","html_url":"https://github.com/SpongePowered/SpongeCommon/issues/564#issuecomment-219930678","issue_url":"https://api.github.com/repos/SpongePowered/SpongeCommon/issues/564","id":219930678,"user":{"login":"Zidane","id":744482,"avatar_url":"https://avatars.githubusercontent.com/u/744482?v=3","gravatar_id":"","url":"https://api.github.com/users/Zidane","html_url":"https://github.com/Zidane","followers_url":"https://api.github.com/users/Zidane/followers","following_url":"https://api.github.com/users/Zidane/following{/other_user}","gists_url":"https://api.github.com/users/Zidane/gists{/gist_id}","starred_url":"https://api.github.com/users/Zidane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zidane/subscriptions","organizations_url":"https://api.github.com/users/Zidane/orgs","repos_url":"https://api.github.com/users/Zidane/repos","events_url":"https://api.github.com/users/Zidane/events{/privacy}","received_events_url":"https://api.github.com/users/Zidane/received_events","type":"User","site_admin":false},"created_at":"2016-05-18T05:44:22Z","updated_at":"2016-05-18T05:44:22Z","body":"We've made some improvements to this in both 1.8.9 and 1.9.4. If this becomes a bigger issue, we'll evaluate further in the future."}}