Menu

#FoReach

3 posts

Feed·
2 of 3 posts
I Clamped Two Million Readings and Nothing Happened
📰
0Read More

I Clamped Two Million Readings and Nothing Happened

DEV Community: dotnet·Sukhpinder Singh·18 days ago
#2XS19Qtp
#devtodotnet#devto#dev#copy#value

A foreach over a List mutates copies, not elements, and my clamp loop quietly did nothing. How CollectionsMarshal.AsSpan fixes it, and why it isn't a read-speed trick.

15s