{"action":"opened","issue":{"url":"https://api.github.com/repos/andyferris/StaticArrays.jl/issues/22","repository_url":"https://api.github.com/repos/andyferris/StaticArrays.jl","labels_url":"https://api.github.com/repos/andyferris/StaticArrays.jl/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/andyferris/StaticArrays.jl/issues/22/comments","events_url":"https://api.github.com/repos/andyferris/StaticArrays.jl/issues/22/events","html_url":"https://github.com/andyferris/StaticArrays.jl/issues/22","id":173672652,"number":22,"title":"`similar(staticarray, newsize)` produces a statically sized array","user":{"login":"andyferris","id":2974526,"avatar_url":"https://avatars.githubusercontent.com/u/2974526?v=3","gravatar_id":"","url":"https://api.github.com/users/andyferris","html_url":"https://github.com/andyferris","followers_url":"https://api.github.com/users/andyferris/followers","following_url":"https://api.github.com/users/andyferris/following{/other_user}","gists_url":"https://api.github.com/users/andyferris/gists{/gist_id}","starred_url":"https://api.github.com/users/andyferris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyferris/subscriptions","organizations_url":"https://api.github.com/users/andyferris/orgs","repos_url":"https://api.github.com/users/andyferris/repos","events_url":"https://api.github.com/users/andyferris/events{/privacy}","received_events_url":"https://api.github.com/users/andyferris/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-28T22:51:43Z","updated_at":"2016-08-28T22:51:43Z","closed_at":null,"body":"This is inefficient since the new size won't be known to the compiler, and `Array` would be faster. While speculative, future compiler enhancements might lead to proper constant propagation in this case, I think we should make this return an `Array` for now.\r\n\r\nShould we introduce `similar(array, Val{newsize})`? It clashes with a method in base, but I think this usage makes more sense. @timholy?"}}
{"actor":{"display_login":"andyferris"}}