{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/corefx/issues/4551","labels_url":"https://api.github.com/repos/dotnet/corefx/issues/4551/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/4551/comments","events_url":"https://api.github.com/repos/dotnet/corefx/issues/4551/events","html_url":"https://github.com/dotnet/corefx/pull/4551","id":117448491,"number":4551,"title":"Optimize Enumerable.Skip() for IList<> parameter","user":{"login":"scalablecory","id":4665835,"avatar_url":"https://avatars.githubusercontent.com/u/4665835?v=3","gravatar_id":"","url":"https://api.github.com/users/scalablecory","html_url":"https://github.com/scalablecory","followers_url":"https://api.github.com/users/scalablecory/followers","following_url":"https://api.github.com/users/scalablecory/following{/other_user}","gists_url":"https://api.github.com/users/scalablecory/gists{/gist_id}","starred_url":"https://api.github.com/users/scalablecory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scalablecory/subscriptions","organizations_url":"https://api.github.com/users/scalablecory/orgs","repos_url":"https://api.github.com/users/scalablecory/repos","events_url":"https://api.github.com/users/scalablecory/events{/privacy}","received_events_url":"https://api.github.com/users/scalablecory/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-11-17T20:56:37Z","updated_at":"2015-11-18T17:06:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dotnet/corefx/pulls/4551","html_url":"https://github.com/dotnet/corefx/pull/4551","diff_url":"https://github.com/dotnet/corefx/pull/4551.diff","patch_url":"https://github.com/dotnet/corefx/pull/4551.patch"},"body":"Changes Enumerable.Skip() from O(n) to O(1) when an IList<> is passed."},"comment":{"url":"https://api.github.com/repos/dotnet/corefx/issues/comments/157780109","html_url":"https://github.com/dotnet/corefx/pull/4551#issuecomment-157780109","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/4551","id":157780109,"user":{"login":"stephentoub","id":2642209,"avatar_url":"https://avatars.githubusercontent.com/u/2642209?v=3","gravatar_id":"","url":"https://api.github.com/users/stephentoub","html_url":"https://github.com/stephentoub","followers_url":"https://api.github.com/users/stephentoub/followers","following_url":"https://api.github.com/users/stephentoub/following{/other_user}","gists_url":"https://api.github.com/users/stephentoub/gists{/gist_id}","starred_url":"https://api.github.com/users/stephentoub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephentoub/subscriptions","organizations_url":"https://api.github.com/users/stephentoub/orgs","repos_url":"https://api.github.com/users/stephentoub/repos","events_url":"https://api.github.com/users/stephentoub/events{/privacy}","received_events_url":"https://api.github.com/users/stephentoub/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T17:06:20Z","updated_at":"2015-11-18T17:06:20Z","body":"> However source.Count should not be cached to avoid ArgumentOutOfRangeException.\r\n\r\nI'm ok with that, but to be clear, changing the collection is going to potentially result in very strange behavior, even without that.  For example, if an item is added to the beginning of the list between two iterations, this change will likely result in the same item being returned twice."}}