{"action":"created","issue":{"url":"https://api.github.com/repos/ambiata/x/issues/84","repository_url":"https://api.github.com/repos/ambiata/x","labels_url":"https://api.github.com/repos/ambiata/x/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/ambiata/x/issues/84/comments","events_url":"https://api.github.com/repos/ambiata/x/issues/84/events","html_url":"https://github.com/ambiata/x/pull/84","id":160839375,"number":84,"title":"x-vector: add transpose for vectors","user":{"login":"jystic","id":134805,"avatar_url":"https://avatars.githubusercontent.com/u/134805?v=3","gravatar_id":"","url":"https://api.github.com/users/jystic","html_url":"https://github.com/jystic","followers_url":"https://api.github.com/users/jystic/followers","following_url":"https://api.github.com/users/jystic/following{/other_user}","gists_url":"https://api.github.com/users/jystic/gists{/gist_id}","starred_url":"https://api.github.com/users/jystic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jystic/subscriptions","organizations_url":"https://api.github.com/users/jystic/orgs","repos_url":"https://api.github.com/users/jystic/repos","events_url":"https://api.github.com/users/jystic/events{/privacy}","received_events_url":"https://api.github.com/users/jystic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-17T08:42:03Z","updated_at":"2016-06-17T08:45:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ambiata/x/pulls/84","html_url":"https://github.com/ambiata/x/pull/84","diff_url":"https://github.com/ambiata/x/pull/84.diff","patch_url":"https://github.com/ambiata/x/pull/84.patch"},"body":"This adds the `Data.List.transpose` function, but over vectors.\r\n\r\nThe main downside is that we pessimistically allocate the largest possible number of columns for each row and then trim it with `unsafeSlice` once we know how many columns that row will have. Not sure if there is a fast way we could determine the final layout up front, but this will only be sub-optimal in the case of jagged (non-rectangular) vectors.\r\n\r\n/cc @amosr "},"comment":{"url":"https://api.github.com/repos/ambiata/x/issues/comments/226714779","html_url":"https://github.com/ambiata/x/pull/84#issuecomment-226714779","issue_url":"https://api.github.com/repos/ambiata/x/issues/84","id":226714779,"user":{"login":"tranma","id":235039,"avatar_url":"https://avatars.githubusercontent.com/u/235039?v=3","gravatar_id":"","url":"https://api.github.com/users/tranma","html_url":"https://github.com/tranma","followers_url":"https://api.github.com/users/tranma/followers","following_url":"https://api.github.com/users/tranma/following{/other_user}","gists_url":"https://api.github.com/users/tranma/gists{/gist_id}","starred_url":"https://api.github.com/users/tranma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tranma/subscriptions","organizations_url":"https://api.github.com/users/tranma/orgs","repos_url":"https://api.github.com/users/tranma/repos","events_url":"https://api.github.com/users/tranma/events{/privacy}","received_events_url":"https://api.github.com/users/tranma/received_events","type":"User","site_admin":false},"created_at":"2016-06-17T08:45:51Z","updated_at":"2016-06-17T08:45:51Z","body":"I'd like to see the performance improvement of this over \"Vector.fromList . List.transpose . Vector.toList\" :savage:"}}
{"actor":{"display_login":"tranma"}}