{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/coreclr/issues/1135","repository_url":"https://api.github.com/repos/dotnet/coreclr","labels_url":"https://api.github.com/repos/dotnet/coreclr/issues/1135/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/coreclr/issues/1135/comments","events_url":"https://api.github.com/repos/dotnet/coreclr/issues/1135/events","html_url":"https://github.com/dotnet/coreclr/issues/1135","id":88000238,"number":1135,"title":"Add ContainsReferences property","user":{"login":"omariom","id":1781701,"avatar_url":"https://avatars.githubusercontent.com/u/1781701?v=3","gravatar_id":"","url":"https://api.github.com/users/omariom","html_url":"https://github.com/omariom","followers_url":"https://api.github.com/users/omariom/followers","following_url":"https://api.github.com/users/omariom/following{/other_user}","gists_url":"https://api.github.com/users/omariom/gists{/gist_id}","starred_url":"https://api.github.com/users/omariom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omariom/subscriptions","organizations_url":"https://api.github.com/users/omariom/orgs","repos_url":"https://api.github.com/users/omariom/repos","events_url":"https://api.github.com/users/omariom/events{/privacy}","received_events_url":"https://api.github.com/users/omariom/received_events","type":"User","site_admin":false},"labels":[{"id":279250793,"url":"https://api.github.com/repos/dotnet/coreclr/labels/api%20addition","name":"api addition","color":"207de5","default":false},{"id":191918675,"url":"https://api.github.com/repos/dotnet/coreclr/labels/area-mscorlib","name":"area-mscorlib","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/dotnet/coreclr/milestones/5","html_url":"https://github.com/dotnet/coreclr/milestones/Future","labels_url":"https://api.github.com/repos/dotnet/coreclr/milestones/5/labels","id":1328081,"number":5,"title":"Future","description":"Milestone tracking the issues that have been triaged for after 1.0.0-rtm","creator":{"login":"joshfree","id":1302850,"avatar_url":"https://avatars.githubusercontent.com/u/1302850?v=3","gravatar_id":"","url":"https://api.github.com/users/joshfree","html_url":"https://github.com/joshfree","followers_url":"https://api.github.com/users/joshfree/followers","following_url":"https://api.github.com/users/joshfree/following{/other_user}","gists_url":"https://api.github.com/users/joshfree/gists{/gist_id}","starred_url":"https://api.github.com/users/joshfree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshfree/subscriptions","organizations_url":"https://api.github.com/users/joshfree/orgs","repos_url":"https://api.github.com/users/joshfree/repos","events_url":"https://api.github.com/users/joshfree/events{/privacy}","received_events_url":"https://api.github.com/users/joshfree/received_events","type":"User","site_admin":false},"open_issues":625,"closed_issues":362,"state":"open","created_at":"2015-09-29T00:26:07Z","updated_at":"2016-11-23T18:36:46Z","due_on":null,"closed_at":null},"comments":35,"created_at":"2015-06-13T12:48:06Z","updated_at":"2016-11-23T21:31:25Z","closed_at":null,"body":"Currently generic List  calls  Array.Clear on its underlying array in the implementation of Clear, RemoveAll, RemoveRange mathods. \nIt has to do so because the generic argument can contain references which must be freed for GC.\nBut what if it is plain Int32 or any other value type that doesn't have references in it directly or indirectly?\n\nIf Type had  a property that could say if the type contains references then clearing the array could be completely skipped.\nI see  a huge performance opportunity here - less CPU work, less memory traffic and pollution.\n\nAnd not only there. If JIT considered this property value as a JIT time constant then the check itself and the branch of the generated code could be  skipped as well. Other methods could benefit from that without sacrificing a nanosecond  - like RemoveAt.\n"},"comment":{"url":"https://api.github.com/repos/dotnet/coreclr/issues/comments/262634810","html_url":"https://github.com/dotnet/coreclr/issues/1135#issuecomment-262634810","issue_url":"https://api.github.com/repos/dotnet/coreclr/issues/1135","id":262634810,"user":{"login":"omariom","id":1781701,"avatar_url":"https://avatars.githubusercontent.com/u/1781701?v=3","gravatar_id":"","url":"https://api.github.com/users/omariom","html_url":"https://github.com/omariom","followers_url":"https://api.github.com/users/omariom/followers","following_url":"https://api.github.com/users/omariom/following{/other_user}","gists_url":"https://api.github.com/users/omariom/gists{/gist_id}","starred_url":"https://api.github.com/users/omariom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omariom/subscriptions","organizations_url":"https://api.github.com/users/omariom/orgs","repos_url":"https://api.github.com/users/omariom/repos","events_url":"https://api.github.com/users/omariom/events{/privacy}","received_events_url":"https://api.github.com/users/omariom/received_events","type":"User","site_admin":false},"created_at":"2016-11-23T21:31:25Z","updated_at":"2016-11-23T21:31:25Z","body":"\\cc @KrzysztofCwalina "}}
{"actor":{"display_login":"omariom"}}