casangi / xradio

Xarray Radio Astronomy Data IO
https://xradio.readthedocs.io/en/latest/
Other
10 stars 5 forks source link

Optimisation: Remove full column copy when reshaping #184

Closed sstansill closed 3 months ago

sstansill commented 3 months ago

Refactor read_col_conversion() to prevent storing two copies of a MeasurementSet column in memory. Reduces memory consumption by ~>40% and has a small ~5% improvement in wall time