{"action":"closed","number":269,"pull_request":{"url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/pulls/269","id":39516486,"html_url":"https://github.com/SwiftyJSON/SwiftyJSON/pull/269","diff_url":"https://github.com/SwiftyJSON/SwiftyJSON/pull/269.diff","patch_url":"https://github.com/SwiftyJSON/SwiftyJSON/pull/269.patch","issue_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/issues/269","number":269,"state":"closed","locked":false,"title":"Cast to ObjC collections instead of Swift when possible","user":{"login":"aleffert","id":114396,"avatar_url":"https://avatars.githubusercontent.com/u/114396?v=3","gravatar_id":"","url":"https://api.github.com/users/aleffert","html_url":"https://github.com/aleffert","followers_url":"https://api.github.com/users/aleffert/followers","following_url":"https://api.github.com/users/aleffert/following{/other_user}","gists_url":"https://api.github.com/users/aleffert/gists{/gist_id}","starred_url":"https://api.github.com/users/aleffert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleffert/subscriptions","organizations_url":"https://api.github.com/users/aleffert/orgs","repos_url":"https://api.github.com/users/aleffert/repos","events_url":"https://api.github.com/users/aleffert/events{/privacy}","received_events_url":"https://api.github.com/users/aleffert/received_events","type":"User","site_admin":false},"body":"This improves performance in a common case (deserializing something\r\nproduced via NSJSONSerialization) since it can compile to a simple type check and not\r\ncoerce the underlying value.\r\n\r\nI don't have any synthetic benchmarks, but it made my use case about 10x faster.","created_at":"2015-07-08T19:58:12Z","updated_at":"2015-09-24T15:17:59Z","closed_at":"2015-09-24T15:17:59Z","merged_at":null,"merge_commit_sha":"97b4c1bb867bae0de70690ef9de03f8d31c6ce9e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/pulls/269/commits","review_comments_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/pulls/269/comments","review_comment_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/issues/269/comments","statuses_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/statuses/930aedef1a0473de30fed61e6da9e6eb3f8f0943","head":{"label":"aleffert:aleffert/casting-perf","ref":"aleffert/casting-perf","sha":"930aedef1a0473de30fed61e6da9e6eb3f8f0943","user":{"login":"aleffert","id":114396,"avatar_url":"https://avatars.githubusercontent.com/u/114396?v=3","gravatar_id":"","url":"https://api.github.com/users/aleffert","html_url":"https://github.com/aleffert","followers_url":"https://api.github.com/users/aleffert/followers","following_url":"https://api.github.com/users/aleffert/following{/other_user}","gists_url":"https://api.github.com/users/aleffert/gists{/gist_id}","starred_url":"https://api.github.com/users/aleffert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleffert/subscriptions","organizations_url":"https://api.github.com/users/aleffert/orgs","repos_url":"https://api.github.com/users/aleffert/repos","events_url":"https://api.github.com/users/aleffert/events{/privacy}","received_events_url":"https://api.github.com/users/aleffert/received_events","type":"User","site_admin":false},"repo":{"id":38776167,"name":"SwiftyJSON","full_name":"aleffert/SwiftyJSON","owner":{"login":"aleffert","id":114396,"avatar_url":"https://avatars.githubusercontent.com/u/114396?v=3","gravatar_id":"","url":"https://api.github.com/users/aleffert","html_url":"https://github.com/aleffert","followers_url":"https://api.github.com/users/aleffert/followers","following_url":"https://api.github.com/users/aleffert/following{/other_user}","gists_url":"https://api.github.com/users/aleffert/gists{/gist_id}","starred_url":"https://api.github.com/users/aleffert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleffert/subscriptions","organizations_url":"https://api.github.com/users/aleffert/orgs","repos_url":"https://api.github.com/users/aleffert/repos","events_url":"https://api.github.com/users/aleffert/events{/privacy}","received_events_url":"https://api.github.com/users/aleffert/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aleffert/SwiftyJSON","description":"The better way to deal with JSON data in Swift","fork":true,"url":"https://api.github.com/repos/aleffert/SwiftyJSON","forks_url":"https://api.github.com/repos/aleffert/SwiftyJSON/forks","keys_url":"https://api.github.com/repos/aleffert/SwiftyJSON/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aleffert/SwiftyJSON/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aleffert/SwiftyJSON/teams","hooks_url":"https://api.github.com/repos/aleffert/SwiftyJSON/hooks","issue_events_url":"https://api.github.com/repos/aleffert/SwiftyJSON/issues/events{/number}","events_url":"https://api.github.com/repos/aleffert/SwiftyJSON/events","assignees_url":"https://api.github.com/repos/aleffert/SwiftyJSON/assignees{/user}","branches_url":"https://api.github.com/repos/aleffert/SwiftyJSON/branches{/branch}","tags_url":"https://api.github.com/repos/aleffert/SwiftyJSON/tags","blobs_url":"https://api.github.com/repos/aleffert/SwiftyJSON/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aleffert/SwiftyJSON/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aleffert/SwiftyJSON/git/refs{/sha}","trees_url":"https://api.github.com/repos/aleffert/SwiftyJSON/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aleffert/SwiftyJSON/statuses/{sha}","languages_url":"https://api.github.com/repos/aleffert/SwiftyJSON/languages","stargazers_url":"https://api.github.com/repos/aleffert/SwiftyJSON/stargazers","contributors_url":"https://api.github.com/repos/aleffert/SwiftyJSON/contributors","subscribers_url":"https://api.github.com/repos/aleffert/SwiftyJSON/subscribers","subscription_url":"https://api.github.com/repos/aleffert/SwiftyJSON/subscription","commits_url":"https://api.github.com/repos/aleffert/SwiftyJSON/commits{/sha}","git_commits_url":"https://api.github.com/repos/aleffert/SwiftyJSON/git/commits{/sha}","comments_url":"https://api.github.com/repos/aleffert/SwiftyJSON/comments{/number}","issue_comment_url":"https://api.github.com/repos/aleffert/SwiftyJSON/issues/comments{/number}","contents_url":"https://api.github.com/repos/aleffert/SwiftyJSON/contents/{+path}","compare_url":"https://api.github.com/repos/aleffert/SwiftyJSON/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aleffert/SwiftyJSON/merges","archive_url":"https://api.github.com/repos/aleffert/SwiftyJSON/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aleffert/SwiftyJSON/downloads","issues_url":"https://api.github.com/repos/aleffert/SwiftyJSON/issues{/number}","pulls_url":"https://api.github.com/repos/aleffert/SwiftyJSON/pulls{/number}","milestones_url":"https://api.github.com/repos/aleffert/SwiftyJSON/milestones{/number}","notifications_url":"https://api.github.com/repos/aleffert/SwiftyJSON/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aleffert/SwiftyJSON/labels{/name}","releases_url":"https://api.github.com/repos/aleffert/SwiftyJSON/releases{/id}","created_at":"2015-07-08T19:49:08Z","updated_at":"2015-07-08T19:49:09Z","pushed_at":"2015-07-08T19:57:23Z","git_url":"git://github.com/aleffert/SwiftyJSON.git","ssh_url":"git@github.com:aleffert/SwiftyJSON.git","clone_url":"https://github.com/aleffert/SwiftyJSON.git","svn_url":"https://github.com/aleffert/SwiftyJSON","homepage":null,"size":453,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"SwiftyJSON:master","ref":"master","sha":"62b581e14c5a813b1195d43faf61efe035a114c1","user":{"login":"SwiftyJSON","id":8858017,"avatar_url":"https://avatars.githubusercontent.com/u/8858017?v=3","gravatar_id":"","url":"https://api.github.com/users/SwiftyJSON","html_url":"https://github.com/SwiftyJSON","followers_url":"https://api.github.com/users/SwiftyJSON/followers","following_url":"https://api.github.com/users/SwiftyJSON/following{/other_user}","gists_url":"https://api.github.com/users/SwiftyJSON/gists{/gist_id}","starred_url":"https://api.github.com/users/SwiftyJSON/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SwiftyJSON/subscriptions","organizations_url":"https://api.github.com/users/SwiftyJSON/orgs","repos_url":"https://api.github.com/users/SwiftyJSON/repos","events_url":"https://api.github.com/users/SwiftyJSON/events{/privacy}","received_events_url":"https://api.github.com/users/SwiftyJSON/received_events","type":"Organization","site_admin":false},"repo":{"id":20965586,"name":"SwiftyJSON","full_name":"SwiftyJSON/SwiftyJSON","owner":{"login":"SwiftyJSON","id":8858017,"avatar_url":"https://avatars.githubusercontent.com/u/8858017?v=3","gravatar_id":"","url":"https://api.github.com/users/SwiftyJSON","html_url":"https://github.com/SwiftyJSON","followers_url":"https://api.github.com/users/SwiftyJSON/followers","following_url":"https://api.github.com/users/SwiftyJSON/following{/other_user}","gists_url":"https://api.github.com/users/SwiftyJSON/gists{/gist_id}","starred_url":"https://api.github.com/users/SwiftyJSON/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SwiftyJSON/subscriptions","organizations_url":"https://api.github.com/users/SwiftyJSON/orgs","repos_url":"https://api.github.com/users/SwiftyJSON/repos","events_url":"https://api.github.com/users/SwiftyJSON/events{/privacy}","received_events_url":"https://api.github.com/users/SwiftyJSON/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SwiftyJSON/SwiftyJSON","description":"The better way to deal with JSON data in Swift","fork":false,"url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON","forks_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/forks","keys_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/teams","hooks_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/hooks","issue_events_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/issues/events{/number}","events_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/events","assignees_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/assignees{/user}","branches_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/branches{/branch}","tags_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/tags","blobs_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/git/refs{/sha}","trees_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/statuses/{sha}","languages_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/languages","stargazers_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/stargazers","contributors_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/contributors","subscribers_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/subscribers","subscription_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/subscription","commits_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/commits{/sha}","git_commits_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/git/commits{/sha}","comments_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/comments{/number}","issue_comment_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/issues/comments{/number}","contents_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/contents/{+path}","compare_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/merges","archive_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/downloads","issues_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/issues{/number}","pulls_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/pulls{/number}","milestones_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/milestones{/number}","notifications_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/labels{/name}","releases_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/releases{/id}","created_at":"2014-06-18T14:41:15Z","updated_at":"2015-09-24T15:09:23Z","pushed_at":"2015-09-24T13:36:36Z","git_url":"git://github.com/SwiftyJSON/SwiftyJSON.git","ssh_url":"git@github.com:SwiftyJSON/SwiftyJSON.git","clone_url":"https://github.com/SwiftyJSON/SwiftyJSON.git","svn_url":"https://github.com/SwiftyJSON/SwiftyJSON","homepage":null,"size":2096,"stargazers_count":6345,"watchers_count":6345,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1062,"mirror_url":null,"open_issues_count":111,"forks":1062,"open_issues":111,"watchers":6345,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/pulls/269"},"html":{"href":"https://github.com/SwiftyJSON/SwiftyJSON/pull/269"},"issue":{"href":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/issues/269"},"comments":{"href":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/issues/269/comments"},"review_comments":{"href":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/pulls/269/comments"},"review_comment":{"href":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/pulls/269/commits"},"statuses":{"href":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/statuses/930aedef1a0473de30fed61e6da9e6eb3f8f0943"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":3,"deletions":3,"changed_files":1}}