{"action":"created","comment":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/pulls/comments/77421828","id":77421828,"diff_hunk":"@@ -238,6 +243,17 @@ class Bytes {\n \t\t#elseif cpp\n \t\tif( pos < 0 || pos + 4 > length ) throw Error.OutsideBounds;\n \t\treturn untyped __global__.__hxcpp_memory_get_float(b,pos);\n+\t\t#elseif cs\n+\t\t#if unsafe\n+\t\tvar value:UInt =\n+\t\t\tb[0 + pos] << 0 |","path":"std/haxe/io/Bytes.hx","position":null,"original_position":26,"commit_id":"4e5babc62bcbfe0f00a302a01d86c4a703155ed4","original_commit_id":"1513a1b7dd78f9d8bac6b26891455d93a2a65fd8","user":{"login":"eliasku","id":3038174,"avatar_url":"https://avatars.githubusercontent.com/u/3038174?v=3","gravatar_id":"","url":"https://api.github.com/users/eliasku","html_url":"https://github.com/eliasku","followers_url":"https://api.github.com/users/eliasku/followers","following_url":"https://api.github.com/users/eliasku/following{/other_user}","gists_url":"https://api.github.com/users/eliasku/gists{/gist_id}","starred_url":"https://api.github.com/users/eliasku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliasku/subscriptions","organizations_url":"https://api.github.com/users/eliasku/orgs","repos_url":"https://api.github.com/users/eliasku/repos","events_url":"https://api.github.com/users/eliasku/events{/privacy}","received_events_url":"https://api.github.com/users/eliasku/received_events","type":"User","site_admin":false},"body":"why not just *((float*)(b + pos)) ?","created_at":"2016-09-02T22:44:42Z","updated_at":"2016-09-02T22:44:42Z","html_url":"https://github.com/HaxeFoundation/haxe/pull/5259#discussion_r77421828","pull_request_url":"https://api.github.com/repos/HaxeFoundation/haxe/pulls/5259","_links":{"self":{"href":"https://api.github.com/repos/HaxeFoundation/haxe/pulls/comments/77421828"},"html":{"href":"https://github.com/HaxeFoundation/haxe/pull/5259#discussion_r77421828"},"pull_request":{"href":"https://api.github.com/repos/HaxeFoundation/haxe/pulls/5259"}}},"pull_request":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/pulls/5259","id":70796495,"html_url":"https://github.com/HaxeFoundation/haxe/pull/5259","diff_url":"https://github.com/HaxeFoundation/haxe/pull/5259.diff","patch_url":"https://github.com/HaxeFoundation/haxe/pull/5259.patch","issue_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/5259","number":5259,"state":"open","locked":false,"title":"C# bytes optimization","user":{"login":"vroad","id":396351,"avatar_url":"https://avatars.githubusercontent.com/u/396351?v=3","gravatar_id":"","url":"https://api.github.com/users/vroad","html_url":"https://github.com/vroad","followers_url":"https://api.github.com/users/vroad/followers","following_url":"https://api.github.com/users/vroad/following{/other_user}","gists_url":"https://api.github.com/users/vroad/gists{/gist_id}","starred_url":"https://api.github.com/users/vroad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vroad/subscriptions","organizations_url":"https://api.github.com/users/vroad/orgs","repos_url":"https://api.github.com/users/vroad/repos","events_url":"https://api.github.com/users/vroad/events{/privacy}","received_events_url":"https://api.github.com/users/vroad/received_events","type":"User","site_admin":false},"body":"Optimize Bytes with Buffer.BlockCopy, BitConverter and unsafe code.","created_at":"2016-05-20T03:22:29Z","updated_at":"2016-09-02T22:44:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ef20d84429a3a633018b93719721c06f97fcebf6","assignee":{"login":"waneck","id":178171,"avatar_url":"https://avatars.githubusercontent.com/u/178171?v=3","gravatar_id":"","url":"https://api.github.com/users/waneck","html_url":"https://github.com/waneck","followers_url":"https://api.github.com/users/waneck/followers","following_url":"https://api.github.com/users/waneck/following{/other_user}","gists_url":"https://api.github.com/users/waneck/gists{/gist_id}","starred_url":"https://api.github.com/users/waneck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waneck/subscriptions","organizations_url":"https://api.github.com/users/waneck/orgs","repos_url":"https://api.github.com/users/waneck/repos","events_url":"https://api.github.com/users/waneck/events{/privacy}","received_events_url":"https://api.github.com/users/waneck/received_events","type":"User","site_admin":false},"assignees":[{"login":"waneck","id":178171,"avatar_url":"https://avatars.githubusercontent.com/u/178171?v=3","gravatar_id":"","url":"https://api.github.com/users/waneck","html_url":"https://github.com/waneck","followers_url":"https://api.github.com/users/waneck/followers","following_url":"https://api.github.com/users/waneck/following{/other_user}","gists_url":"https://api.github.com/users/waneck/gists{/gist_id}","starred_url":"https://api.github.com/users/waneck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waneck/subscriptions","organizations_url":"https://api.github.com/users/waneck/orgs","repos_url":"https://api.github.com/users/waneck/repos","events_url":"https://api.github.com/users/waneck/events{/privacy}","received_events_url":"https://api.github.com/users/waneck/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/HaxeFoundation/haxe/pulls/5259/commits","review_comments_url":"https://api.github.com/repos/HaxeFoundation/haxe/pulls/5259/comments","review_comment_url":"https://api.github.com/repos/HaxeFoundation/haxe/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/5259/comments","statuses_url":"https://api.github.com/repos/HaxeFoundation/haxe/statuses/4e5babc62bcbfe0f00a302a01d86c4a703155ed4","head":{"label":"vroad:cs-bytes-optimization","ref":"cs-bytes-optimization","sha":"4e5babc62bcbfe0f00a302a01d86c4a703155ed4","user":{"login":"vroad","id":396351,"avatar_url":"https://avatars.githubusercontent.com/u/396351?v=3","gravatar_id":"","url":"https://api.github.com/users/vroad","html_url":"https://github.com/vroad","followers_url":"https://api.github.com/users/vroad/followers","following_url":"https://api.github.com/users/vroad/following{/other_user}","gists_url":"https://api.github.com/users/vroad/gists{/gist_id}","starred_url":"https://api.github.com/users/vroad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vroad/subscriptions","organizations_url":"https://api.github.com/users/vroad/orgs","repos_url":"https://api.github.com/users/vroad/repos","events_url":"https://api.github.com/users/vroad/events{/privacy}","received_events_url":"https://api.github.com/users/vroad/received_events","type":"User","site_admin":false},"repo":{"id":22719361,"name":"haxe","full_name":"vroad/haxe","owner":{"login":"vroad","id":396351,"avatar_url":"https://avatars.githubusercontent.com/u/396351?v=3","gravatar_id":"","url":"https://api.github.com/users/vroad","html_url":"https://github.com/vroad","followers_url":"https://api.github.com/users/vroad/followers","following_url":"https://api.github.com/users/vroad/following{/other_user}","gists_url":"https://api.github.com/users/vroad/gists{/gist_id}","starred_url":"https://api.github.com/users/vroad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vroad/subscriptions","organizations_url":"https://api.github.com/users/vroad/orgs","repos_url":"https://api.github.com/users/vroad/repos","events_url":"https://api.github.com/users/vroad/events{/privacy}","received_events_url":"https://api.github.com/users/vroad/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vroad/haxe","description":"Haxe - The Cross-Platform Toolkit","fork":true,"url":"https://api.github.com/repos/vroad/haxe","forks_url":"https://api.github.com/repos/vroad/haxe/forks","keys_url":"https://api.github.com/repos/vroad/haxe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vroad/haxe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vroad/haxe/teams","hooks_url":"https://api.github.com/repos/vroad/haxe/hooks","issue_events_url":"https://api.github.com/repos/vroad/haxe/issues/events{/number}","events_url":"https://api.github.com/repos/vroad/haxe/events","assignees_url":"https://api.github.com/repos/vroad/haxe/assignees{/user}","branches_url":"https://api.github.com/repos/vroad/haxe/branches{/branch}","tags_url":"https://api.github.com/repos/vroad/haxe/tags","blobs_url":"https://api.github.com/repos/vroad/haxe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vroad/haxe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vroad/haxe/git/refs{/sha}","trees_url":"https://api.github.com/repos/vroad/haxe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vroad/haxe/statuses/{sha}","languages_url":"https://api.github.com/repos/vroad/haxe/languages","stargazers_url":"https://api.github.com/repos/vroad/haxe/stargazers","contributors_url":"https://api.github.com/repos/vroad/haxe/contributors","subscribers_url":"https://api.github.com/repos/vroad/haxe/subscribers","subscription_url":"https://api.github.com/repos/vroad/haxe/subscription","commits_url":"https://api.github.com/repos/vroad/haxe/commits{/sha}","git_commits_url":"https://api.github.com/repos/vroad/haxe/git/commits{/sha}","comments_url":"https://api.github.com/repos/vroad/haxe/comments{/number}","issue_comment_url":"https://api.github.com/repos/vroad/haxe/issues/comments{/number}","contents_url":"https://api.github.com/repos/vroad/haxe/contents/{+path}","compare_url":"https://api.github.com/repos/vroad/haxe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vroad/haxe/merges","archive_url":"https://api.github.com/repos/vroad/haxe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vroad/haxe/downloads","issues_url":"https://api.github.com/repos/vroad/haxe/issues{/number}","pulls_url":"https://api.github.com/repos/vroad/haxe/pulls{/number}","milestones_url":"https://api.github.com/repos/vroad/haxe/milestones{/number}","notifications_url":"https://api.github.com/repos/vroad/haxe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vroad/haxe/labels{/name}","releases_url":"https://api.github.com/repos/vroad/haxe/releases{/id}","deployments_url":"https://api.github.com/repos/vroad/haxe/deployments","created_at":"2014-08-07T11:45:01Z","updated_at":"2016-06-07T12:23:31Z","pushed_at":"2016-08-23T04:52:26Z","git_url":"git://github.com/vroad/haxe.git","ssh_url":"git@github.com:vroad/haxe.git","clone_url":"https://github.com/vroad/haxe.git","svn_url":"https://github.com/vroad/haxe","homepage":"http://haxe.org","size":45985,"stargazers_count":0,"watchers_count":0,"language":"Haxe","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":"development"}},"base":{"label":"HaxeFoundation:development","ref":"development","sha":"180eadc28b00aeaf3db2606af9d82777cb7b3cda","user":{"login":"HaxeFoundation","id":3826779,"avatar_url":"https://avatars.githubusercontent.com/u/3826779?v=3","gravatar_id":"","url":"https://api.github.com/users/HaxeFoundation","html_url":"https://github.com/HaxeFoundation","followers_url":"https://api.github.com/users/HaxeFoundation/followers","following_url":"https://api.github.com/users/HaxeFoundation/following{/other_user}","gists_url":"https://api.github.com/users/HaxeFoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/HaxeFoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HaxeFoundation/subscriptions","organizations_url":"https://api.github.com/users/HaxeFoundation/orgs","repos_url":"https://api.github.com/users/HaxeFoundation/repos","events_url":"https://api.github.com/users/HaxeFoundation/events{/privacy}","received_events_url":"https://api.github.com/users/HaxeFoundation/received_events","type":"Organization","site_admin":false},"repo":{"id":10282042,"name":"haxe","full_name":"HaxeFoundation/haxe","owner":{"login":"HaxeFoundation","id":3826779,"avatar_url":"https://avatars.githubusercontent.com/u/3826779?v=3","gravatar_id":"","url":"https://api.github.com/users/HaxeFoundation","html_url":"https://github.com/HaxeFoundation","followers_url":"https://api.github.com/users/HaxeFoundation/followers","following_url":"https://api.github.com/users/HaxeFoundation/following{/other_user}","gists_url":"https://api.github.com/users/HaxeFoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/HaxeFoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HaxeFoundation/subscriptions","organizations_url":"https://api.github.com/users/HaxeFoundation/orgs","repos_url":"https://api.github.com/users/HaxeFoundation/repos","events_url":"https://api.github.com/users/HaxeFoundation/events{/privacy}","received_events_url":"https://api.github.com/users/HaxeFoundation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HaxeFoundation/haxe","description":"Haxe - The Cross-Platform Toolkit","fork":false,"url":"https://api.github.com/repos/HaxeFoundation/haxe","forks_url":"https://api.github.com/repos/HaxeFoundation/haxe/forks","keys_url":"https://api.github.com/repos/HaxeFoundation/haxe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HaxeFoundation/haxe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HaxeFoundation/haxe/teams","hooks_url":"https://api.github.com/repos/HaxeFoundation/haxe/hooks","issue_events_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/events{/number}","events_url":"https://api.github.com/repos/HaxeFoundation/haxe/events","assignees_url":"https://api.github.com/repos/HaxeFoundation/haxe/assignees{/user}","branches_url":"https://api.github.com/repos/HaxeFoundation/haxe/branches{/branch}","tags_url":"https://api.github.com/repos/HaxeFoundation/haxe/tags","blobs_url":"https://api.github.com/repos/HaxeFoundation/haxe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HaxeFoundation/haxe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HaxeFoundation/haxe/git/refs{/sha}","trees_url":"https://api.github.com/repos/HaxeFoundation/haxe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HaxeFoundation/haxe/statuses/{sha}","languages_url":"https://api.github.com/repos/HaxeFoundation/haxe/languages","stargazers_url":"https://api.github.com/repos/HaxeFoundation/haxe/stargazers","contributors_url":"https://api.github.com/repos/HaxeFoundation/haxe/contributors","subscribers_url":"https://api.github.com/repos/HaxeFoundation/haxe/subscribers","subscription_url":"https://api.github.com/repos/HaxeFoundation/haxe/subscription","commits_url":"https://api.github.com/repos/HaxeFoundation/haxe/commits{/sha}","git_commits_url":"https://api.github.com/repos/HaxeFoundation/haxe/git/commits{/sha}","comments_url":"https://api.github.com/repos/HaxeFoundation/haxe/comments{/number}","issue_comment_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/comments{/number}","contents_url":"https://api.github.com/repos/HaxeFoundation/haxe/contents/{+path}","compare_url":"https://api.github.com/repos/HaxeFoundation/haxe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HaxeFoundation/haxe/merges","archive_url":"https://api.github.com/repos/HaxeFoundation/haxe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HaxeFoundation/haxe/downloads","issues_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues{/number}","pulls_url":"https://api.github.com/repos/HaxeFoundation/haxe/pulls{/number}","milestones_url":"https://api.github.com/repos/HaxeFoundation/haxe/milestones{/number}","notifications_url":"https://api.github.com/repos/HaxeFoundation/haxe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HaxeFoundation/haxe/labels{/name}","releases_url":"https://api.github.com/repos/HaxeFoundation/haxe/releases{/id}","deployments_url":"https://api.github.com/repos/HaxeFoundation/haxe/deployments","created_at":"2013-05-25T09:20:11Z","updated_at":"2016-09-02T01:25:13Z","pushed_at":"2016-09-02T22:43:27Z","git_url":"git://github.com/HaxeFoundation/haxe.git","ssh_url":"git@github.com:HaxeFoundation/haxe.git","clone_url":"https://github.com/HaxeFoundation/haxe.git","svn_url":"https://github.com/HaxeFoundation/haxe","homepage":"http://haxe.org","size":93572,"stargazers_count":1517,"watchers_count":1517,"language":"Haxe","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":315,"mirror_url":null,"open_issues_count":544,"forks":315,"open_issues":544,"watchers":1517,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/HaxeFoundation/haxe/pulls/5259"},"html":{"href":"https://github.com/HaxeFoundation/haxe/pull/5259"},"issue":{"href":"https://api.github.com/repos/HaxeFoundation/haxe/issues/5259"},"comments":{"href":"https://api.github.com/repos/HaxeFoundation/haxe/issues/5259/comments"},"review_comments":{"href":"https://api.github.com/repos/HaxeFoundation/haxe/pulls/5259/comments"},"review_comment":{"href":"https://api.github.com/repos/HaxeFoundation/haxe/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HaxeFoundation/haxe/pulls/5259/commits"},"statuses":{"href":"https://api.github.com/repos/HaxeFoundation/haxe/statuses/4e5babc62bcbfe0f00a302a01d86c4a703155ed4"}}}}
{"actor":{"display_login":"eliasku"}}