On Wednesday, 9 February 2022 at 10:29:03 UTC, ag0aep6g wrote: > Try to think of a more efficient way of storing the information. I cant agree more. The problem of OP is not dynamic arrays, it's that he uses an inadequate data structure.