Forum

ResizeAndDispose and SliceCount = SpreadMax

devvvv

#1

That’s just for curiosity,
But is the ResizeAndDispose Method which is part of the RAW examples the new SliceCount = SpreadMax ?


#2

Not necessarily. It’s useful if your slices contain non primitive data types, where you need to call a custom constructor to create a new slice and free resources should a slice get lost.