{"action":"created","issue":{"url":"https://api.github.com/repos/TheBusyBiscuit/Slimefun4/issues/718","repository_url":"https://api.github.com/repos/TheBusyBiscuit/Slimefun4","labels_url":"https://api.github.com/repos/TheBusyBiscuit/Slimefun4/issues/718/labels{/name}","comments_url":"https://api.github.com/repos/TheBusyBiscuit/Slimefun4/issues/718/comments","events_url":"https://api.github.com/repos/TheBusyBiscuit/Slimefun4/issues/718/events","html_url":"https://github.com/TheBusyBiscuit/Slimefun4/pull/718","id":332940038,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1MzAzMjg3","number":718,"title":"Parse block info at startup","user":{"login":"creator3","id":5899144,"node_id":"MDQ6VXNlcjU4OTkxNDQ=","avatar_url":"https://avatars3.githubusercontent.com/u/5899144?v=4","gravatar_id":"","url":"https://api.github.com/users/creator3","html_url":"https://github.com/creator3","followers_url":"https://api.github.com/users/creator3/followers","following_url":"https://api.github.com/users/creator3/following{/other_user}","gists_url":"https://api.github.com/users/creator3/gists{/gist_id}","starred_url":"https://api.github.com/users/creator3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/creator3/subscriptions","organizations_url":"https://api.github.com/users/creator3/orgs","repos_url":"https://api.github.com/users/creator3/repos","events_url":"https://api.github.com/users/creator3/events{/privacy}","received_events_url":"https://api.github.com/users/creator3/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-06-15T23:31:27Z","updated_at":"2018-06-17T11:15:22Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/TheBusyBiscuit/Slimefun4/pulls/718","html_url":"https://github.com/TheBusyBiscuit/Slimefun4/pull/718","diff_url":"https://github.com/TheBusyBiscuit/Slimefun4/pull/718.diff","patch_url":"https://github.com/TheBusyBiscuit/Slimefun4/pull/718.patch"},"body":"![Profiler](https://i.imgur.com/t5SlNml.png)\r\nAs the screenshot shows,\r\n```java\r\nnew Config(\"data-storage/Slimefun/temp.yml\")\r\n```\r\nis particularly expensive because it has to try to load a file from disk.\r\nThis PR will avoid that call for block info and also save time spent parsing JSON.\r\n\r\nBlock info has always been limited to Map<String, String> despite the Config interface, so this won't change anything there. Mutating the Config will change the block info now, but I doubt that happens anywhere without the block info being set anyway. If it's a problem, the Map can of course be cloned."},"comment":{"url":"https://api.github.com/repos/TheBusyBiscuit/Slimefun4/issues/comments/397871687","html_url":"https://github.com/TheBusyBiscuit/Slimefun4/pull/718#issuecomment-397871687","issue_url":"https://api.github.com/repos/TheBusyBiscuit/Slimefun4/issues/718","id":397871687,"node_id":"MDEyOklzc3VlQ29tbWVudDM5Nzg3MTY4Nw==","user":{"login":"TheBusyBiscuit","id":3967898,"node_id":"MDQ6VXNlcjM5Njc4OTg=","avatar_url":"https://avatars1.githubusercontent.com/u/3967898?v=4","gravatar_id":"","url":"https://api.github.com/users/TheBusyBiscuit","html_url":"https://github.com/TheBusyBiscuit","followers_url":"https://api.github.com/users/TheBusyBiscuit/followers","following_url":"https://api.github.com/users/TheBusyBiscuit/following{/other_user}","gists_url":"https://api.github.com/users/TheBusyBiscuit/gists{/gist_id}","starred_url":"https://api.github.com/users/TheBusyBiscuit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheBusyBiscuit/subscriptions","organizations_url":"https://api.github.com/users/TheBusyBiscuit/orgs","repos_url":"https://api.github.com/users/TheBusyBiscuit/repos","events_url":"https://api.github.com/users/TheBusyBiscuit/events{/privacy}","received_events_url":"https://api.github.com/users/TheBusyBiscuit/received_events","type":"User","site_admin":false},"created_at":"2018-06-17T11:15:21Z","updated_at":"2018-06-17T11:15:21Z","author_association":"OWNER","body":"@creator3 \r\nAlright, somehow I thought that these things were supported in the past, okay then."}}
{"actor":{"display_login":"TheBusyBiscuit"}}