{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/visualfsharp/issues/1029","repository_url":"https://api.github.com/repos/Microsoft/visualfsharp","labels_url":"https://api.github.com/repos/Microsoft/visualfsharp/issues/1029/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/visualfsharp/issues/1029/comments","events_url":"https://api.github.com/repos/Microsoft/visualfsharp/issues/1029/events","html_url":"https://github.com/Microsoft/visualfsharp/pull/1029","id":145162990,"number":1029,"title":"List average perf","user":{"login":"AviAvni","id":1097246,"avatar_url":"https://avatars.githubusercontent.com/u/1097246?v=3","gravatar_id":"","url":"https://api.github.com/users/AviAvni","html_url":"https://github.com/AviAvni","followers_url":"https://api.github.com/users/AviAvni/followers","following_url":"https://api.github.com/users/AviAvni/following{/other_user}","gists_url":"https://api.github.com/users/AviAvni/gists{/gist_id}","starred_url":"https://api.github.com/users/AviAvni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AviAvni/subscriptions","organizations_url":"https://api.github.com/users/AviAvni/orgs","repos_url":"https://api.github.com/users/AviAvni/repos","events_url":"https://api.github.com/users/AviAvni/events{/privacy}","received_events_url":"https://api.github.com/users/AviAvni/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/visualfsharp/labels/cla-signed","name":"cla-signed","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-01T12:05:46Z","updated_at":"2016-04-01T16:45:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Microsoft/visualfsharp/pulls/1029","html_url":"https://github.com/Microsoft/visualfsharp/pull/1029","diff_url":"https://github.com/Microsoft/visualfsharp/pull/1029.diff","patch_url":"https://github.com/Microsoft/visualfsharp/pull/1029.patch"},"body":"Changing the implementation of List.average from Seq.average that use IEnumerable\r\nto implementation like List.fold which is more native way to traverse the list implemented by recursion\r\nthat compiles to while loop\r\nbenchmarks: https://gist.github.com/AviAvni/0a3576a619ff9bf4acf1958b8ca1c63b"},"comment":{"url":"https://api.github.com/repos/Microsoft/visualfsharp/issues/comments/204466579","html_url":"https://github.com/Microsoft/visualfsharp/pull/1029#issuecomment-204466579","issue_url":"https://api.github.com/repos/Microsoft/visualfsharp/issues/1029","id":204466579,"user":{"login":"KevinRansom","id":5175830,"avatar_url":"https://avatars.githubusercontent.com/u/5175830?v=3","gravatar_id":"","url":"https://api.github.com/users/KevinRansom","html_url":"https://github.com/KevinRansom","followers_url":"https://api.github.com/users/KevinRansom/followers","following_url":"https://api.github.com/users/KevinRansom/following{/other_user}","gists_url":"https://api.github.com/users/KevinRansom/gists{/gist_id}","starred_url":"https://api.github.com/users/KevinRansom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KevinRansom/subscriptions","organizations_url":"https://api.github.com/users/KevinRansom/orgs","repos_url":"https://api.github.com/users/KevinRansom/repos","events_url":"https://api.github.com/users/KevinRansom/events{/privacy}","received_events_url":"https://api.github.com/users/KevinRansom/received_events","type":"User","site_admin":false},"created_at":"2016-04-01T16:45:06Z","updated_at":"2016-04-01T16:45:06Z","body":"Hi Avi,\r\n\r\nthanks for this PR, have you any performance benchmarks to indicate the benefits of these changes.  \r\ninteresting metrics for performance:\r\n\r\n1. Wall clock time changes\r\n2. Working set changes\r\n3. CPU\r\n4. Allocations\r\n\r\nBefore we can accept performance based re-writes we are interested in understanding the benefits that the rewrite produces.  It is our experience that intuition is a pretty unreliable guide.\r\n\r\nThanks\r\n\r\nKevin\r\n\r\n"}}