{"action":"created","comment":{"url":"https://api.github.com/repos/indutny/bn.js/pulls/comments/51227838","id":51227838,"diff_hunk":"@@ -514,7 +518,7 @@\n \n     this.strip();\n     var littleEndian = endian === 'le';\n-    var res = new Array(reqLength);\n+    var res = new Cons(reqLength);","path":"lib/bn.js","position":21,"original_position":21,"commit_id":"5200e711c7d3d991f23b09b426a0c1ad7d5191bb","original_commit_id":"5200e711c7d3d991f23b09b426a0c1ad7d5191bb","user":{"login":"dcousens","id":413395,"avatar_url":"https://avatars.githubusercontent.com/u/413395?v=3","gravatar_id":"","url":"https://api.github.com/users/dcousens","html_url":"https://github.com/dcousens","followers_url":"https://api.github.com/users/dcousens/followers","following_url":"https://api.github.com/users/dcousens/following{/other_user}","gists_url":"https://api.github.com/users/dcousens/gists{/gist_id}","starred_url":"https://api.github.com/users/dcousens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcousens/subscriptions","organizations_url":"https://api.github.com/users/dcousens/orgs","repos_url":"https://api.github.com/users/dcousens/repos","events_url":"https://api.github.com/users/dcousens/events{/privacy}","received_events_url":"https://api.github.com/users/dcousens/received_events","type":"User","site_admin":false},"body":"`s/Cons/ArrayType`?","created_at":"2016-01-29T05:42:18Z","updated_at":"2016-01-29T05:42:18Z","html_url":"https://github.com/indutny/bn.js/pull/114#discussion_r51227838","pull_request_url":"https://api.github.com/repos/indutny/bn.js/pulls/114","_links":{"self":{"href":"https://api.github.com/repos/indutny/bn.js/pulls/comments/51227838"},"html":{"href":"https://github.com/indutny/bn.js/pull/114#discussion_r51227838"},"pull_request":{"href":"https://api.github.com/repos/indutny/bn.js/pulls/114"}}},"pull_request":{"url":"https://api.github.com/repos/indutny/bn.js/pulls/114","id":57430906,"html_url":"https://github.com/indutny/bn.js/pull/114","diff_url":"https://github.com/indutny/bn.js/pull/114.diff","patch_url":"https://github.com/indutny/bn.js/pull/114.patch","issue_url":"https://api.github.com/repos/indutny/bn.js/issues/114","number":114,"state":"open","locked":false,"title":"bn: introduce .toArrayLike() to speedup .toBuffer()","user":{"login":"axic","id":20340,"avatar_url":"https://avatars.githubusercontent.com/u/20340?v=3","gravatar_id":"","url":"https://api.github.com/users/axic","html_url":"https://github.com/axic","followers_url":"https://api.github.com/users/axic/followers","following_url":"https://api.github.com/users/axic/following{/other_user}","gists_url":"https://api.github.com/users/axic/gists{/gist_id}","starred_url":"https://api.github.com/users/axic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axic/subscriptions","organizations_url":"https://api.github.com/users/axic/orgs","repos_url":"https://api.github.com/users/axic/repos","events_url":"https://api.github.com/users/axic/events{/privacy}","received_events_url":"https://api.github.com/users/axic/received_events","type":"User","site_admin":false},"body":"As discussed in https://github.com/indutny/bn.js/pull/76","created_at":"2016-01-27T22:08:29Z","updated_at":"2016-01-29T05:42:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"46ff5c7f6e29ee05ccb24a93f101019afd3004fe","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/indutny/bn.js/pulls/114/commits","review_comments_url":"https://api.github.com/repos/indutny/bn.js/pulls/114/comments","review_comment_url":"https://api.github.com/repos/indutny/bn.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/indutny/bn.js/issues/114/comments","statuses_url":"https://api.github.com/repos/indutny/bn.js/statuses/5200e711c7d3d991f23b09b426a0c1ad7d5191bb","head":{"label":"axic:feature/toarraylike","ref":"feature/toarraylike","sha":"5200e711c7d3d991f23b09b426a0c1ad7d5191bb","user":{"login":"axic","id":20340,"avatar_url":"https://avatars.githubusercontent.com/u/20340?v=3","gravatar_id":"","url":"https://api.github.com/users/axic","html_url":"https://github.com/axic","followers_url":"https://api.github.com/users/axic/followers","following_url":"https://api.github.com/users/axic/following{/other_user}","gists_url":"https://api.github.com/users/axic/gists{/gist_id}","starred_url":"https://api.github.com/users/axic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axic/subscriptions","organizations_url":"https://api.github.com/users/axic/orgs","repos_url":"https://api.github.com/users/axic/repos","events_url":"https://api.github.com/users/axic/events{/privacy}","received_events_url":"https://api.github.com/users/axic/received_events","type":"User","site_admin":false},"repo":{"id":47079505,"name":"bn.js","full_name":"axic/bn.js","owner":{"login":"axic","id":20340,"avatar_url":"https://avatars.githubusercontent.com/u/20340?v=3","gravatar_id":"","url":"https://api.github.com/users/axic","html_url":"https://github.com/axic","followers_url":"https://api.github.com/users/axic/followers","following_url":"https://api.github.com/users/axic/following{/other_user}","gists_url":"https://api.github.com/users/axic/gists{/gist_id}","starred_url":"https://api.github.com/users/axic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axic/subscriptions","organizations_url":"https://api.github.com/users/axic/orgs","repos_url":"https://api.github.com/users/axic/repos","events_url":"https://api.github.com/users/axic/events{/privacy}","received_events_url":"https://api.github.com/users/axic/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/axic/bn.js","description":"BigNum in pure javascript","fork":true,"url":"https://api.github.com/repos/axic/bn.js","forks_url":"https://api.github.com/repos/axic/bn.js/forks","keys_url":"https://api.github.com/repos/axic/bn.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/axic/bn.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/axic/bn.js/teams","hooks_url":"https://api.github.com/repos/axic/bn.js/hooks","issue_events_url":"https://api.github.com/repos/axic/bn.js/issues/events{/number}","events_url":"https://api.github.com/repos/axic/bn.js/events","assignees_url":"https://api.github.com/repos/axic/bn.js/assignees{/user}","branches_url":"https://api.github.com/repos/axic/bn.js/branches{/branch}","tags_url":"https://api.github.com/repos/axic/bn.js/tags","blobs_url":"https://api.github.com/repos/axic/bn.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/axic/bn.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/axic/bn.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/axic/bn.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/axic/bn.js/statuses/{sha}","languages_url":"https://api.github.com/repos/axic/bn.js/languages","stargazers_url":"https://api.github.com/repos/axic/bn.js/stargazers","contributors_url":"https://api.github.com/repos/axic/bn.js/contributors","subscribers_url":"https://api.github.com/repos/axic/bn.js/subscribers","subscription_url":"https://api.github.com/repos/axic/bn.js/subscription","commits_url":"https://api.github.com/repos/axic/bn.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/axic/bn.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/axic/bn.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/axic/bn.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/axic/bn.js/contents/{+path}","compare_url":"https://api.github.com/repos/axic/bn.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/axic/bn.js/merges","archive_url":"https://api.github.com/repos/axic/bn.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/axic/bn.js/downloads","issues_url":"https://api.github.com/repos/axic/bn.js/issues{/number}","pulls_url":"https://api.github.com/repos/axic/bn.js/pulls{/number}","milestones_url":"https://api.github.com/repos/axic/bn.js/milestones{/number}","notifications_url":"https://api.github.com/repos/axic/bn.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/axic/bn.js/labels{/name}","releases_url":"https://api.github.com/repos/axic/bn.js/releases{/id}","deployments_url":"https://api.github.com/repos/axic/bn.js/deployments","created_at":"2015-11-29T20:42:07Z","updated_at":"2016-01-24T01:25:55Z","pushed_at":"2016-01-27T22:08:05Z","git_url":"git://github.com/axic/bn.js.git","ssh_url":"git@github.com:axic/bn.js.git","clone_url":"https://github.com/axic/bn.js.git","svn_url":"https://github.com/axic/bn.js","homepage":"","size":480,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"indutny:master","ref":"master","sha":"3e49f61adc0328347a784aa4199652ad7f7f8f8d","user":{"login":"indutny","id":238531,"avatar_url":"https://avatars.githubusercontent.com/u/238531?v=3","gravatar_id":"","url":"https://api.github.com/users/indutny","html_url":"https://github.com/indutny","followers_url":"https://api.github.com/users/indutny/followers","following_url":"https://api.github.com/users/indutny/following{/other_user}","gists_url":"https://api.github.com/users/indutny/gists{/gist_id}","starred_url":"https://api.github.com/users/indutny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/indutny/subscriptions","organizations_url":"https://api.github.com/users/indutny/orgs","repos_url":"https://api.github.com/users/indutny/repos","events_url":"https://api.github.com/users/indutny/events{/privacy}","received_events_url":"https://api.github.com/users/indutny/received_events","type":"User","site_admin":false},"repo":{"id":19176350,"name":"bn.js","full_name":"indutny/bn.js","owner":{"login":"indutny","id":238531,"avatar_url":"https://avatars.githubusercontent.com/u/238531?v=3","gravatar_id":"","url":"https://api.github.com/users/indutny","html_url":"https://github.com/indutny","followers_url":"https://api.github.com/users/indutny/followers","following_url":"https://api.github.com/users/indutny/following{/other_user}","gists_url":"https://api.github.com/users/indutny/gists{/gist_id}","starred_url":"https://api.github.com/users/indutny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/indutny/subscriptions","organizations_url":"https://api.github.com/users/indutny/orgs","repos_url":"https://api.github.com/users/indutny/repos","events_url":"https://api.github.com/users/indutny/events{/privacy}","received_events_url":"https://api.github.com/users/indutny/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/indutny/bn.js","description":"BigNum in pure javascript","fork":false,"url":"https://api.github.com/repos/indutny/bn.js","forks_url":"https://api.github.com/repos/indutny/bn.js/forks","keys_url":"https://api.github.com/repos/indutny/bn.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/indutny/bn.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/indutny/bn.js/teams","hooks_url":"https://api.github.com/repos/indutny/bn.js/hooks","issue_events_url":"https://api.github.com/repos/indutny/bn.js/issues/events{/number}","events_url":"https://api.github.com/repos/indutny/bn.js/events","assignees_url":"https://api.github.com/repos/indutny/bn.js/assignees{/user}","branches_url":"https://api.github.com/repos/indutny/bn.js/branches{/branch}","tags_url":"https://api.github.com/repos/indutny/bn.js/tags","blobs_url":"https://api.github.com/repos/indutny/bn.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/indutny/bn.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/indutny/bn.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/indutny/bn.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/indutny/bn.js/statuses/{sha}","languages_url":"https://api.github.com/repos/indutny/bn.js/languages","stargazers_url":"https://api.github.com/repos/indutny/bn.js/stargazers","contributors_url":"https://api.github.com/repos/indutny/bn.js/contributors","subscribers_url":"https://api.github.com/repos/indutny/bn.js/subscribers","subscription_url":"https://api.github.com/repos/indutny/bn.js/subscription","commits_url":"https://api.github.com/repos/indutny/bn.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/indutny/bn.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/indutny/bn.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/indutny/bn.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/indutny/bn.js/contents/{+path}","compare_url":"https://api.github.com/repos/indutny/bn.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/indutny/bn.js/merges","archive_url":"https://api.github.com/repos/indutny/bn.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/indutny/bn.js/downloads","issues_url":"https://api.github.com/repos/indutny/bn.js/issues{/number}","pulls_url":"https://api.github.com/repos/indutny/bn.js/pulls{/number}","milestones_url":"https://api.github.com/repos/indutny/bn.js/milestones{/number}","notifications_url":"https://api.github.com/repos/indutny/bn.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/indutny/bn.js/labels{/name}","releases_url":"https://api.github.com/repos/indutny/bn.js/releases{/id}","deployments_url":"https://api.github.com/repos/indutny/bn.js/deployments","created_at":"2014-04-26T12:02:03Z","updated_at":"2016-01-24T15:06:20Z","pushed_at":"2016-01-28T20:09:11Z","git_url":"git://github.com/indutny/bn.js.git","ssh_url":"git@github.com:indutny/bn.js.git","clone_url":"https://github.com/indutny/bn.js.git","svn_url":"https://github.com/indutny/bn.js","homepage":"","size":739,"stargazers_count":179,"watchers_count":179,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":15,"forks":20,"open_issues":15,"watchers":179,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/indutny/bn.js/pulls/114"},"html":{"href":"https://github.com/indutny/bn.js/pull/114"},"issue":{"href":"https://api.github.com/repos/indutny/bn.js/issues/114"},"comments":{"href":"https://api.github.com/repos/indutny/bn.js/issues/114/comments"},"review_comments":{"href":"https://api.github.com/repos/indutny/bn.js/pulls/114/comments"},"review_comment":{"href":"https://api.github.com/repos/indutny/bn.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/indutny/bn.js/pulls/114/commits"},"statuses":{"href":"https://api.github.com/repos/indutny/bn.js/statuses/5200e711c7d3d991f23b09b426a0c1ad7d5191bb"}}}}