On Monday, 13 June 2022 at 09:08:40 UTC, Salih Dincer wrote:
On Monday, 13 June 2022 at 08:51:03 UTC, Ola Fosheim Grøstad wrote:But it would be much more useful in practice if "chain" was a dynamic array.Already so:
I meant something like: chain = [arr1, arr2, …, arrN]I don't use ranges, but I thought this specific use case could be valuable.
Imagine you have a chunked datastructure of unknown lengths, and you want to "redistribute" items without reallocation.