Freya Holmér
Freya Holmér

@FreyaHolmer

4 Tweets Dec 15, 2022
in my C# efforts to iterate elements in pairs w/o allocation, @khyperia says I just accidentally did a C++
@khyperia this is @khyperia's proper solution for iterating pairs
so much boilerplate just to avoid allocations tho ;-;
just a minor correction in case people use this
initialize i to -1 and do ++i instead of i++
less boilerplate version!

Loading suggestions...