Allocation is cheap... until it is not

added by Paul Wheeler
1/24/2018 3:48:37 PM

1 Kicks, 259 Views

We can often hear that allocation of objects is "cheap" in .NET. I fully support this sentence because the most important part is its continuation - allocation is cheap but allocating a lot of objects will hit you back as sooner or later garbage collector will kick in and start messing around.


0 comments