baumgold commented on issue #499:
URL: https://github.com/apache/arrow-julia/issues/499#issuecomment-1928165243

   A concrete performance issue:
   
   ```julia
   
   julia> buf = 
Arrow.tobuffer([(x=1,y="foo",z=[1]),(x=2,y="bar",z=[2,3]),(x=3,y="baz",z=[4,5,6])]);
    
   julia> tt = Arrow.Table(buf)
   Arrow.Table with 3 rows, 3 columns, and schema:
   :x  …  Int64
   :y     String
   :z     SubArray{Int64, 1, Arrow.Primitive{Int64, Vector{Int64}}, 
Tuple{UnitRange{Int64}}, true}
   
   julia> @code_warntype iterate(first(Tables.rows(tt)))
   MethodInstance for 
iterate(::Tables.ColumnsRow{Tables.CopiedColumns{Arrow.Table}})
     from iterate(r::Union{Tables.AbstractColumns, Tables.AbstractRow}) @ 
Tables ~/.julia/packages/Tables/NSGZI/src/Tables.jl:195
   Arguments
     #self#::Core.Const(iterate)
     r::Tables.ColumnsRow{Tables.CopiedColumns{Arrow.Table}}
   Body::Union{Nothing, Tuple{Any, Int64}}
   1 ─ %1 = (#self#)(r, 1)::Union{Nothing, Tuple{Any, Int64}}
   └──      return %1
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to