{"action":"closed","issue":{"url":"https://api.github.com/repos/JuliaArrays/AxisArrays.jl/issues/136","repository_url":"https://api.github.com/repos/JuliaArrays/AxisArrays.jl","labels_url":"https://api.github.com/repos/JuliaArrays/AxisArrays.jl/issues/136/labels{/name}","comments_url":"https://api.github.com/repos/JuliaArrays/AxisArrays.jl/issues/136/comments","events_url":"https://api.github.com/repos/JuliaArrays/AxisArrays.jl/issues/136/events","html_url":"https://github.com/JuliaArrays/AxisArrays.jl/issues/136","id":318904187,"number":136,"title":"Significant regression when indexing by value in 0.7","user":{"login":"niclasmattsson","id":33093224,"avatar_url":"https://avatars3.githubusercontent.com/u/33093224?v=4","gravatar_id":"","url":"https://api.github.com/users/niclasmattsson","html_url":"https://github.com/niclasmattsson","followers_url":"https://api.github.com/users/niclasmattsson/followers","following_url":"https://api.github.com/users/niclasmattsson/following{/other_user}","gists_url":"https://api.github.com/users/niclasmattsson/gists{/gist_id}","starred_url":"https://api.github.com/users/niclasmattsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niclasmattsson/subscriptions","organizations_url":"https://api.github.com/users/niclasmattsson/orgs","repos_url":"https://api.github.com/users/niclasmattsson/repos","events_url":"https://api.github.com/users/niclasmattsson/events{/privacy}","received_events_url":"https://api.github.com/users/niclasmattsson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-04-30T14:11:59Z","updated_at":"2018-05-01T21:07:09Z","closed_at":"2018-05-01T21:07:09Z","author_association":"NONE","body":"Apologies if this is a known issue and/or if the transition to 0.7 is still incomplete, but just in case I thought I should report this.\r\n \r\n```julia\r\njulia> a = AxisArray(rand(3,3), [:a,:b,:c], [:x,:y,:z])\r\n2-dimensional AxisArray{Float64,2,...} with axes:\r\n    :row, Symbol[:a, :b, :c]\r\n    :col, Symbol[:x, :y, :z]\r\nAnd data, a 3×3 Array{Float64,2}:\r\n 0.991885  0.000544059  0.511753\r\n 0.242214  0.0773739    0.131205\r\n 0.42773   0.532756     0.565765\r\n\r\njulia> test(a) = a[:a,:x]\r\ntest (generic function with 1 method)\r\n```\r\nVersion 0.6.2:\r\n```\r\njulia> @btime test(a);\r\n  53.651 ns (1 allocation: 16 bytes)\r\n```\r\nVersion 0.7.0-DEV.4958:\r\n```\r\njulia> @btime test(a);\r\n  571.501 μs (223 allocations: 25.45 KiB)\r\n```"}}
{"actor":{"display_login":"mbauman"}}