4 ms·
Anxious to finally play with this, been wanting the full library/stack update for span<t>/memory<t> to get a feel for actually using them to optimize code.
by runevault 8y ago
Anxious to finally play with this, been wanting the full library/stack update for span<t>/memory<t> to get a feel for actually using them to optimize code.
- algorithmsRcool 8y agoI've been moving some libraries over from T[] to Memory<T> and Span<T>. I've found it's a little tricky to get used to calling Slice() all the time. But it opens up so many doors for allocation reduction and perf improvement. Also, it is so nice to not have to pass (array, offset, length) around everywhere