You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@inbounds v =ndims(raw) ==1? raw[meta.cellindex] : raw[:,meta.cellindex]
making it a view would save about half the memory usage and result in 2~7 times faster in reading EGI outputs. The downside, however, is that the new return arrays are now subarrays instead of regular arrays. Is it worth it?
The speedup is not obvious for thousand of cells, e.g., in bulk.2d.vlsv.
The text was updated successfully, but these errors were encountered:
In
readvariable
,Vlasiator.jl/src/vlsv/vlsvreader.jl
Line 508 in e44af63
making it a view would save about half the memory usage and result in 2~7 times faster in reading EGI outputs. The downside, however, is that the new return arrays are now subarrays instead of regular arrays. Is it worth it?
The speedup is not obvious for thousand of cells, e.g., in
bulk.2d.vlsv
.The text was updated successfully, but these errors were encountered: