I have a two dimension array [[Cartesian3, Cartesian3],[Cartesian3,Cartesian3,Cartesian3...] ... ];
Each array element represents a polyline coordinates.
Now I want to draw these polyline on Map.
Which is the most efficient way or there is no big difference?
Method 1:Iterate the array and create 1000 entities
Method 2:Iterate the array and create 1000 primitives