Structs feel fast… sometimes aren’t.
Why
Large structs are copied frequently.
Fix
Pass large structs by in reference.
Daily micro-tips for C#, SQL, performance, and scalable backend engineering.
Structs feel fast… sometimes aren’t.
Why
Large structs are copied frequently.
Fix
Pass large structs by in reference.