{"action":"closed","number":3471,"pull_request":{"url":"https://api.github.com/repos/libgdx/libgdx/pulls/3471","id":47139564,"html_url":"https://github.com/libgdx/libgdx/pull/3471","diff_url":"https://github.com/libgdx/libgdx/pull/3471.diff","patch_url":"https://github.com/libgdx/libgdx/pull/3471.patch","issue_url":"https://api.github.com/repos/libgdx/libgdx/issues/3471","number":3471,"state":"closed","locked":false,"title":"Make APK expansion initialization faster. Make exists() faster for files","user":{"login":"sarkanyi","id":1218556,"avatar_url":"https://avatars.githubusercontent.com/u/1218556?v=3","gravatar_id":"","url":"https://api.github.com/users/sarkanyi","html_url":"https://github.com/sarkanyi","followers_url":"https://api.github.com/users/sarkanyi/followers","following_url":"https://api.github.com/users/sarkanyi/following{/other_user}","gists_url":"https://api.github.com/users/sarkanyi/gists{/gist_id}","starred_url":"https://api.github.com/users/sarkanyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarkanyi/subscriptions","organizations_url":"https://api.github.com/users/sarkanyi/orgs","repos_url":"https://api.github.com/users/sarkanyi/repos","events_url":"https://api.github.com/users/sarkanyi/events{/privacy}","received_events_url":"https://api.github.com/users/sarkanyi/received_events","type":"User","site_admin":false},"body":"It seems that if there are lots of entries in the obb file, exists() is rather slow because it has to search a large HashMap. This should make it much faster.","created_at":"2015-10-08T11:12:00Z","updated_at":"2015-10-08T15:03:41Z","closed_at":"2015-10-08T15:03:40Z","merged_at":"2015-10-08T15:03:40Z","merge_commit_sha":"f9297474409a310c2e0ac010b476b3657f3abf10","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/libgdx/libgdx/pulls/3471/commits","review_comments_url":"https://api.github.com/repos/libgdx/libgdx/pulls/3471/comments","review_comment_url":"https://api.github.com/repos/libgdx/libgdx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/libgdx/libgdx/issues/3471/comments","statuses_url":"https://api.github.com/repos/libgdx/libgdx/statuses/881d69488c7d26cf729aadb43ea3fd4a2f1bc3d1","head":{"label":"sarkanyi:master","ref":"master","sha":"881d69488c7d26cf729aadb43ea3fd4a2f1bc3d1","user":{"login":"sarkanyi","id":1218556,"avatar_url":"https://avatars.githubusercontent.com/u/1218556?v=3","gravatar_id":"","url":"https://api.github.com/users/sarkanyi","html_url":"https://github.com/sarkanyi","followers_url":"https://api.github.com/users/sarkanyi/followers","following_url":"https://api.github.com/users/sarkanyi/following{/other_user}","gists_url":"https://api.github.com/users/sarkanyi/gists{/gist_id}","starred_url":"https://api.github.com/users/sarkanyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarkanyi/subscriptions","organizations_url":"https://api.github.com/users/sarkanyi/orgs","repos_url":"https://api.github.com/users/sarkanyi/repos","events_url":"https://api.github.com/users/sarkanyi/events{/privacy}","received_events_url":"https://api.github.com/users/sarkanyi/received_events","type":"User","site_admin":false},"repo":{"id":41554010,"name":"libgdx","full_name":"sarkanyi/libgdx","owner":{"login":"sarkanyi","id":1218556,"avatar_url":"https://avatars.githubusercontent.com/u/1218556?v=3","gravatar_id":"","url":"https://api.github.com/users/sarkanyi","html_url":"https://github.com/sarkanyi","followers_url":"https://api.github.com/users/sarkanyi/followers","following_url":"https://api.github.com/users/sarkanyi/following{/other_user}","gists_url":"https://api.github.com/users/sarkanyi/gists{/gist_id}","starred_url":"https://api.github.com/users/sarkanyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarkanyi/subscriptions","organizations_url":"https://api.github.com/users/sarkanyi/orgs","repos_url":"https://api.github.com/users/sarkanyi/repos","events_url":"https://api.github.com/users/sarkanyi/events{/privacy}","received_events_url":"https://api.github.com/users/sarkanyi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sarkanyi/libgdx","description":"Desktop/Android/HTML5/iOS Java game development framework","fork":true,"url":"https://api.github.com/repos/sarkanyi/libgdx","forks_url":"https://api.github.com/repos/sarkanyi/libgdx/forks","keys_url":"https://api.github.com/repos/sarkanyi/libgdx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sarkanyi/libgdx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sarkanyi/libgdx/teams","hooks_url":"https://api.github.com/repos/sarkanyi/libgdx/hooks","issue_events_url":"https://api.github.com/repos/sarkanyi/libgdx/issues/events{/number}","events_url":"https://api.github.com/repos/sarkanyi/libgdx/events","assignees_url":"https://api.github.com/repos/sarkanyi/libgdx/assignees{/user}","branches_url":"https://api.github.com/repos/sarkanyi/libgdx/branches{/branch}","tags_url":"https://api.github.com/repos/sarkanyi/libgdx/tags","blobs_url":"https://api.github.com/repos/sarkanyi/libgdx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sarkanyi/libgdx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sarkanyi/libgdx/git/refs{/sha}","trees_url":"https://api.github.com/repos/sarkanyi/libgdx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sarkanyi/libgdx/statuses/{sha}","languages_url":"https://api.github.com/repos/sarkanyi/libgdx/languages","stargazers_url":"https://api.github.com/repos/sarkanyi/libgdx/stargazers","contributors_url":"https://api.github.com/repos/sarkanyi/libgdx/contributors","subscribers_url":"https://api.github.com/repos/sarkanyi/libgdx/subscribers","subscription_url":"https://api.github.com/repos/sarkanyi/libgdx/subscription","commits_url":"https://api.github.com/repos/sarkanyi/libgdx/commits{/sha}","git_commits_url":"https://api.github.com/repos/sarkanyi/libgdx/git/commits{/sha}","comments_url":"https://api.github.com/repos/sarkanyi/libgdx/comments{/number}","issue_comment_url":"https://api.github.com/repos/sarkanyi/libgdx/issues/comments{/number}","contents_url":"https://api.github.com/repos/sarkanyi/libgdx/contents/{+path}","compare_url":"https://api.github.com/repos/sarkanyi/libgdx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sarkanyi/libgdx/merges","archive_url":"https://api.github.com/repos/sarkanyi/libgdx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sarkanyi/libgdx/downloads","issues_url":"https://api.github.com/repos/sarkanyi/libgdx/issues{/number}","pulls_url":"https://api.github.com/repos/sarkanyi/libgdx/pulls{/number}","milestones_url":"https://api.github.com/repos/sarkanyi/libgdx/milestones{/number}","notifications_url":"https://api.github.com/repos/sarkanyi/libgdx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sarkanyi/libgdx/labels{/name}","releases_url":"https://api.github.com/repos/sarkanyi/libgdx/releases{/id}","created_at":"2015-08-28T15:14:56Z","updated_at":"2015-08-28T15:15:13Z","pushed_at":"2015-10-08T14:00:50Z","git_url":"git://github.com/sarkanyi/libgdx.git","ssh_url":"git@github.com:sarkanyi/libgdx.git","clone_url":"https://github.com/sarkanyi/libgdx.git","svn_url":"https://github.com/sarkanyi/libgdx","homepage":"http://www.libgdx.com/","size":879877,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"libgdx:master","ref":"master","sha":"3177a376713cf39e8d451f11de9f4e4c68a3b113","user":{"login":"libgdx","id":509841,"avatar_url":"https://avatars.githubusercontent.com/u/509841?v=3","gravatar_id":"","url":"https://api.github.com/users/libgdx","html_url":"https://github.com/libgdx","followers_url":"https://api.github.com/users/libgdx/followers","following_url":"https://api.github.com/users/libgdx/following{/other_user}","gists_url":"https://api.github.com/users/libgdx/gists{/gist_id}","starred_url":"https://api.github.com/users/libgdx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libgdx/subscriptions","organizations_url":"https://api.github.com/users/libgdx/orgs","repos_url":"https://api.github.com/users/libgdx/repos","events_url":"https://api.github.com/users/libgdx/events{/privacy}","received_events_url":"https://api.github.com/users/libgdx/received_events","type":"Organization","site_admin":false},"repo":{"id":5373551,"name":"libgdx","full_name":"libgdx/libgdx","owner":{"login":"libgdx","id":509841,"avatar_url":"https://avatars.githubusercontent.com/u/509841?v=3","gravatar_id":"","url":"https://api.github.com/users/libgdx","html_url":"https://github.com/libgdx","followers_url":"https://api.github.com/users/libgdx/followers","following_url":"https://api.github.com/users/libgdx/following{/other_user}","gists_url":"https://api.github.com/users/libgdx/gists{/gist_id}","starred_url":"https://api.github.com/users/libgdx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libgdx/subscriptions","organizations_url":"https://api.github.com/users/libgdx/orgs","repos_url":"https://api.github.com/users/libgdx/repos","events_url":"https://api.github.com/users/libgdx/events{/privacy}","received_events_url":"https://api.github.com/users/libgdx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/libgdx/libgdx","description":"Desktop/Android/HTML5/iOS Java game development framework","fork":false,"url":"https://api.github.com/repos/libgdx/libgdx","forks_url":"https://api.github.com/repos/libgdx/libgdx/forks","keys_url":"https://api.github.com/repos/libgdx/libgdx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/libgdx/libgdx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/libgdx/libgdx/teams","hooks_url":"https://api.github.com/repos/libgdx/libgdx/hooks","issue_events_url":"https://api.github.com/repos/libgdx/libgdx/issues/events{/number}","events_url":"https://api.github.com/repos/libgdx/libgdx/events","assignees_url":"https://api.github.com/repos/libgdx/libgdx/assignees{/user}","branches_url":"https://api.github.com/repos/libgdx/libgdx/branches{/branch}","tags_url":"https://api.github.com/repos/libgdx/libgdx/tags","blobs_url":"https://api.github.com/repos/libgdx/libgdx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/libgdx/libgdx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/libgdx/libgdx/git/refs{/sha}","trees_url":"https://api.github.com/repos/libgdx/libgdx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/libgdx/libgdx/statuses/{sha}","languages_url":"https://api.github.com/repos/libgdx/libgdx/languages","stargazers_url":"https://api.github.com/repos/libgdx/libgdx/stargazers","contributors_url":"https://api.github.com/repos/libgdx/libgdx/contributors","subscribers_url":"https://api.github.com/repos/libgdx/libgdx/subscribers","subscription_url":"https://api.github.com/repos/libgdx/libgdx/subscription","commits_url":"https://api.github.com/repos/libgdx/libgdx/commits{/sha}","git_commits_url":"https://api.github.com/repos/libgdx/libgdx/git/commits{/sha}","comments_url":"https://api.github.com/repos/libgdx/libgdx/comments{/number}","issue_comment_url":"https://api.github.com/repos/libgdx/libgdx/issues/comments{/number}","contents_url":"https://api.github.com/repos/libgdx/libgdx/contents/{+path}","compare_url":"https://api.github.com/repos/libgdx/libgdx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/libgdx/libgdx/merges","archive_url":"https://api.github.com/repos/libgdx/libgdx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/libgdx/libgdx/downloads","issues_url":"https://api.github.com/repos/libgdx/libgdx/issues{/number}","pulls_url":"https://api.github.com/repos/libgdx/libgdx/pulls{/number}","milestones_url":"https://api.github.com/repos/libgdx/libgdx/milestones{/number}","notifications_url":"https://api.github.com/repos/libgdx/libgdx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/libgdx/libgdx/labels{/name}","releases_url":"https://api.github.com/repos/libgdx/libgdx/releases{/id}","created_at":"2012-08-10T19:34:38Z","updated_at":"2015-10-08T14:43:46Z","pushed_at":"2015-10-08T15:03:40Z","git_url":"git://github.com/libgdx/libgdx.git","ssh_url":"git@github.com:libgdx/libgdx.git","clone_url":"https://github.com/libgdx/libgdx.git","svn_url":"https://github.com/libgdx/libgdx","homepage":"http://www.libgdx.com/","size":1011939,"stargazers_count":7129,"watchers_count":7129,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4121,"mirror_url":null,"open_issues_count":112,"forks":4121,"open_issues":112,"watchers":7129,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/libgdx/libgdx/pulls/3471"},"html":{"href":"https://github.com/libgdx/libgdx/pull/3471"},"issue":{"href":"https://api.github.com/repos/libgdx/libgdx/issues/3471"},"comments":{"href":"https://api.github.com/repos/libgdx/libgdx/issues/3471/comments"},"review_comments":{"href":"https://api.github.com/repos/libgdx/libgdx/pulls/3471/comments"},"review_comment":{"href":"https://api.github.com/repos/libgdx/libgdx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/libgdx/libgdx/pulls/3471/commits"},"statuses":{"href":"https://api.github.com/repos/libgdx/libgdx/statuses/881d69488c7d26cf729aadb43ea3fd4a2f1bc3d1"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"MobiDevelop","id":1095464,"avatar_url":"https://avatars.githubusercontent.com/u/1095464?v=3","gravatar_id":"","url":"https://api.github.com/users/MobiDevelop","html_url":"https://github.com/MobiDevelop","followers_url":"https://api.github.com/users/MobiDevelop/followers","following_url":"https://api.github.com/users/MobiDevelop/following{/other_user}","gists_url":"https://api.github.com/users/MobiDevelop/gists{/gist_id}","starred_url":"https://api.github.com/users/MobiDevelop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MobiDevelop/subscriptions","organizations_url":"https://api.github.com/users/MobiDevelop/orgs","repos_url":"https://api.github.com/users/MobiDevelop/repos","events_url":"https://api.github.com/users/MobiDevelop/events{/privacy}","received_events_url":"https://api.github.com/users/MobiDevelop/received_events","type":"User","site_admin":false},"comments":0,"review_comments":2,"commits":1,"additions":15,"deletions":14,"changed_files":4}}