{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/corefx/pulls/comments/179937075","pull_request_review_id":110276416,"id":179937075,"diff_hunk":"@@ -14,131 +14,186 @@ namespace System.Buffers\n     public readonly partial struct ReadOnlySequence<T>\n     {\n         [MethodImpl(MethodImplOptions.AggressiveInlining)]\n-        internal bool TryGetBuffer(in SequencePosition start, in SequencePosition end, out ReadOnlyMemory<T> data, out SequencePosition next)\n+        internal bool TryGetBuffer(in SequencePosition position, out ReadOnlyMemory<T> memory, out SequencePosition next, bool tructed = false)","path":"src/System.Memory/src/System/Buffers/ReadOnlySequence_helpers.cs","position":5,"original_position":5,"commit_id":"a279085696b54855ebbdb6e0592700466b437632","original_commit_id":"a279085696b54855ebbdb6e0592700466b437632","user":{"login":"AlexRadch","id":6407980,"avatar_url":"https://avatars1.githubusercontent.com/u/6407980?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexRadch","html_url":"https://github.com/AlexRadch","followers_url":"https://api.github.com/users/AlexRadch/followers","following_url":"https://api.github.com/users/AlexRadch/following{/other_user}","gists_url":"https://api.github.com/users/AlexRadch/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexRadch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexRadch/subscriptions","organizations_url":"https://api.github.com/users/AlexRadch/orgs","repos_url":"https://api.github.com/users/AlexRadch/repos","events_url":"https://api.github.com/users/AlexRadch/events{/privacy}","received_events_url":"https://api.github.com/users/AlexRadch/received_events","type":"User","site_admin":false},"body":"public TryGet methods use this method with trusted = false.","created_at":"2018-04-08T06:31:31Z","updated_at":"2018-04-08T06:31:31Z","html_url":"https://github.com/dotnet/corefx/pull/28760#discussion_r179937075","pull_request_url":"https://api.github.com/repos/dotnet/corefx/pulls/28760","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/comments/179937075"},"html":{"href":"https://github.com/dotnet/corefx/pull/28760#discussion_r179937075"},"pull_request":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/28760"}},"in_reply_to_id":179931872},"pull_request":{"url":"https://api.github.com/repos/dotnet/corefx/pulls/28760","id":179039404,"html_url":"https://github.com/dotnet/corefx/pull/28760","diff_url":"https://github.com/dotnet/corefx/pull/28760.diff","patch_url":"https://github.com/dotnet/corefx/pull/28760.patch","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/28760","number":28760,"state":"open","locked":false,"title":"Created performance tests for ROS First and TryGet methods","user":{"login":"AlexRadch","id":6407980,"avatar_url":"https://avatars1.githubusercontent.com/u/6407980?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexRadch","html_url":"https://github.com/AlexRadch","followers_url":"https://api.github.com/users/AlexRadch/followers","following_url":"https://api.github.com/users/AlexRadch/following{/other_user}","gists_url":"https://api.github.com/users/AlexRadch/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexRadch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexRadch/subscriptions","organizations_url":"https://api.github.com/users/AlexRadch/orgs","repos_url":"https://api.github.com/users/AlexRadch/repos","events_url":"https://api.github.com/users/AlexRadch/events{/privacy}","received_events_url":"https://api.github.com/users/AlexRadch/received_events","type":"User","site_admin":false},"body":"I created performance tests for ROS First and TryGet methods. Also I suggest more clear and fast code for TryGetBuffer and GetFirstBuffer methods.","created_at":"2018-04-03T09:23:45Z","updated_at":"2018-04-08T06:31:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d79029cea778efb2c20b3fce95a7d382576378f6","assignee":null,"assignees":[],"requested_reviewers":[{"login":"benaadams","id":1142958,"avatar_url":"https://avatars1.githubusercontent.com/u/1142958?v=4","gravatar_id":"","url":"https://api.github.com/users/benaadams","html_url":"https://github.com/benaadams","followers_url":"https://api.github.com/users/benaadams/followers","following_url":"https://api.github.com/users/benaadams/following{/other_user}","gists_url":"https://api.github.com/users/benaadams/gists{/gist_id}","starred_url":"https://api.github.com/users/benaadams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benaadams/subscriptions","organizations_url":"https://api.github.com/users/benaadams/orgs","repos_url":"https://api.github.com/users/benaadams/repos","events_url":"https://api.github.com/users/benaadams/events{/privacy}","received_events_url":"https://api.github.com/users/benaadams/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":547241922,"url":"https://api.github.com/repos/dotnet/corefx/labels/area-System.Memory","name":"area-System.Memory","color":"d4c5f9","default":false}],"milestone":{"url":"https://api.github.com/repos/dotnet/corefx/milestones/12","html_url":"https://github.com/dotnet/corefx/milestone/12","labels_url":"https://api.github.com/repos/dotnet/corefx/milestones/12/labels","id":2323293,"number":12,"title":"2.1.0","description":".NET Core 2.1, next major release. See [official release dates](https://github.com/dotnet/core/blob/master/roadmap.md) for details.","creator":{"login":"karelz","id":5776068,"avatar_url":"https://avatars2.githubusercontent.com/u/5776068?v=4","gravatar_id":"","url":"https://api.github.com/users/karelz","html_url":"https://github.com/karelz","followers_url":"https://api.github.com/users/karelz/followers","following_url":"https://api.github.com/users/karelz/following{/other_user}","gists_url":"https://api.github.com/users/karelz/gists{/gist_id}","starred_url":"https://api.github.com/users/karelz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karelz/subscriptions","organizations_url":"https://api.github.com/users/karelz/orgs","repos_url":"https://api.github.com/users/karelz/repos","events_url":"https://api.github.com/users/karelz/events{/privacy}","received_events_url":"https://api.github.com/users/karelz/received_events","type":"User","site_admin":false},"open_issues":49,"closed_issues":6841,"state":"open","created_at":"2017-02-15T02:14:11Z","updated_at":"2018-04-08T00:37:08Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/dotnet/corefx/pulls/28760/commits","review_comments_url":"https://api.github.com/repos/dotnet/corefx/pulls/28760/comments","review_comment_url":"https://api.github.com/repos/dotnet/corefx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/28760/comments","statuses_url":"https://api.github.com/repos/dotnet/corefx/statuses/a279085696b54855ebbdb6e0592700466b437632","head":{"label":"AlexRadch:Perf.ReadOnlySequence.TryGet","ref":"Perf.ReadOnlySequence.TryGet","sha":"a279085696b54855ebbdb6e0592700466b437632","user":{"login":"AlexRadch","id":6407980,"avatar_url":"https://avatars1.githubusercontent.com/u/6407980?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexRadch","html_url":"https://github.com/AlexRadch","followers_url":"https://api.github.com/users/AlexRadch/followers","following_url":"https://api.github.com/users/AlexRadch/following{/other_user}","gists_url":"https://api.github.com/users/AlexRadch/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexRadch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexRadch/subscriptions","organizations_url":"https://api.github.com/users/AlexRadch/orgs","repos_url":"https://api.github.com/users/AlexRadch/repos","events_url":"https://api.github.com/users/AlexRadch/events{/privacy}","received_events_url":"https://api.github.com/users/AlexRadch/received_events","type":"User","site_admin":false},"repo":{"id":122161937,"name":"corefx","full_name":"AlexRadch/corefx","owner":{"login":"AlexRadch","id":6407980,"avatar_url":"https://avatars1.githubusercontent.com/u/6407980?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexRadch","html_url":"https://github.com/AlexRadch","followers_url":"https://api.github.com/users/AlexRadch/followers","following_url":"https://api.github.com/users/AlexRadch/following{/other_user}","gists_url":"https://api.github.com/users/AlexRadch/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexRadch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexRadch/subscriptions","organizations_url":"https://api.github.com/users/AlexRadch/orgs","repos_url":"https://api.github.com/users/AlexRadch/repos","events_url":"https://api.github.com/users/AlexRadch/events{/privacy}","received_events_url":"https://api.github.com/users/AlexRadch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AlexRadch/corefx","description":"This repo contains the .NET Core foundational libraries, called CoreFX. It includes classes for collections, file systems, console, XML, async and many others. We welcome contributions.","fork":true,"url":"https://api.github.com/repos/AlexRadch/corefx","forks_url":"https://api.github.com/repos/AlexRadch/corefx/forks","keys_url":"https://api.github.com/repos/AlexRadch/corefx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AlexRadch/corefx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AlexRadch/corefx/teams","hooks_url":"https://api.github.com/repos/AlexRadch/corefx/hooks","issue_events_url":"https://api.github.com/repos/AlexRadch/corefx/issues/events{/number}","events_url":"https://api.github.com/repos/AlexRadch/corefx/events","assignees_url":"https://api.github.com/repos/AlexRadch/corefx/assignees{/user}","branches_url":"https://api.github.com/repos/AlexRadch/corefx/branches{/branch}","tags_url":"https://api.github.com/repos/AlexRadch/corefx/tags","blobs_url":"https://api.github.com/repos/AlexRadch/corefx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AlexRadch/corefx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AlexRadch/corefx/git/refs{/sha}","trees_url":"https://api.github.com/repos/AlexRadch/corefx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AlexRadch/corefx/statuses/{sha}","languages_url":"https://api.github.com/repos/AlexRadch/corefx/languages","stargazers_url":"https://api.github.com/repos/AlexRadch/corefx/stargazers","contributors_url":"https://api.github.com/repos/AlexRadch/corefx/contributors","subscribers_url":"https://api.github.com/repos/AlexRadch/corefx/subscribers","subscription_url":"https://api.github.com/repos/AlexRadch/corefx/subscription","commits_url":"https://api.github.com/repos/AlexRadch/corefx/commits{/sha}","git_commits_url":"https://api.github.com/repos/AlexRadch/corefx/git/commits{/sha}","comments_url":"https://api.github.com/repos/AlexRadch/corefx/comments{/number}","issue_comment_url":"https://api.github.com/repos/AlexRadch/corefx/issues/comments{/number}","contents_url":"https://api.github.com/repos/AlexRadch/corefx/contents/{+path}","compare_url":"https://api.github.com/repos/AlexRadch/corefx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AlexRadch/corefx/merges","archive_url":"https://api.github.com/repos/AlexRadch/corefx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AlexRadch/corefx/downloads","issues_url":"https://api.github.com/repos/AlexRadch/corefx/issues{/number}","pulls_url":"https://api.github.com/repos/AlexRadch/corefx/pulls{/number}","milestones_url":"https://api.github.com/repos/AlexRadch/corefx/milestones{/number}","notifications_url":"https://api.github.com/repos/AlexRadch/corefx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AlexRadch/corefx/labels{/name}","releases_url":"https://api.github.com/repos/AlexRadch/corefx/releases{/id}","deployments_url":"https://api.github.com/repos/AlexRadch/corefx/deployments","created_at":"2018-02-20T06:12:04Z","updated_at":"2018-04-01T10:52:50Z","pushed_at":"2018-04-07T06:35:30Z","git_url":"git://github.com/AlexRadch/corefx.git","ssh_url":"git@github.com:AlexRadch/corefx.git","clone_url":"https://github.com/AlexRadch/corefx.git","svn_url":"https://github.com/AlexRadch/corefx","homepage":"https://github.com/dotnet/core","size":176194,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dotnet:master","ref":"master","sha":"f759243d724f462da0bcef54e86588f8a55352c6","user":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars0.githubusercontent.com/u/9141961?v=4","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"repo":{"id":26295345,"name":"corefx","full_name":"dotnet/corefx","owner":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars0.githubusercontent.com/u/9141961?v=4","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dotnet/corefx","description":"This repo contains the .NET Core foundational libraries, called CoreFX. It includes classes for collections, file systems, console, XML, async and many others. We welcome contributions.","fork":false,"url":"https://api.github.com/repos/dotnet/corefx","forks_url":"https://api.github.com/repos/dotnet/corefx/forks","keys_url":"https://api.github.com/repos/dotnet/corefx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotnet/corefx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotnet/corefx/teams","hooks_url":"https://api.github.com/repos/dotnet/corefx/hooks","issue_events_url":"https://api.github.com/repos/dotnet/corefx/issues/events{/number}","events_url":"https://api.github.com/repos/dotnet/corefx/events","assignees_url":"https://api.github.com/repos/dotnet/corefx/assignees{/user}","branches_url":"https://api.github.com/repos/dotnet/corefx/branches{/branch}","tags_url":"https://api.github.com/repos/dotnet/corefx/tags","blobs_url":"https://api.github.com/repos/dotnet/corefx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotnet/corefx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotnet/corefx/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotnet/corefx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotnet/corefx/statuses/{sha}","languages_url":"https://api.github.com/repos/dotnet/corefx/languages","stargazers_url":"https://api.github.com/repos/dotnet/corefx/stargazers","contributors_url":"https://api.github.com/repos/dotnet/corefx/contributors","subscribers_url":"https://api.github.com/repos/dotnet/corefx/subscribers","subscription_url":"https://api.github.com/repos/dotnet/corefx/subscription","commits_url":"https://api.github.com/repos/dotnet/corefx/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotnet/corefx/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotnet/corefx/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotnet/corefx/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotnet/corefx/contents/{+path}","compare_url":"https://api.github.com/repos/dotnet/corefx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotnet/corefx/merges","archive_url":"https://api.github.com/repos/dotnet/corefx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotnet/corefx/downloads","issues_url":"https://api.github.com/repos/dotnet/corefx/issues{/number}","pulls_url":"https://api.github.com/repos/dotnet/corefx/pulls{/number}","milestones_url":"https://api.github.com/repos/dotnet/corefx/milestones{/number}","notifications_url":"https://api.github.com/repos/dotnet/corefx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotnet/corefx/labels{/name}","releases_url":"https://api.github.com/repos/dotnet/corefx/releases{/id}","deployments_url":"https://api.github.com/repos/dotnet/corefx/deployments","created_at":"2014-11-06T23:42:48Z","updated_at":"2018-04-08T04:51:26Z","pushed_at":"2018-04-08T00:27:30Z","git_url":"git://github.com/dotnet/corefx.git","ssh_url":"git@github.com:dotnet/corefx.git","clone_url":"https://github.com/dotnet/corefx.git","svn_url":"https://github.com/dotnet/corefx","homepage":"https://github.com/dotnet/core","size":176668,"stargazers_count":13723,"watchers_count":13723,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3930,"mirror_url":null,"archived":false,"open_issues_count":2234,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":3930,"open_issues":2234,"watchers":13723,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/28760"},"html":{"href":"https://github.com/dotnet/corefx/pull/28760"},"issue":{"href":"https://api.github.com/repos/dotnet/corefx/issues/28760"},"comments":{"href":"https://api.github.com/repos/dotnet/corefx/issues/28760/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/28760/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/28760/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/corefx/statuses/a279085696b54855ebbdb6e0592700466b437632"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"AlexRadch"}}