DateTime.Now Causes Boxing(beyondthespec.com)
submitted by
liranc(190) 2 years, 5 months ago
This post describes in detail how calling to DateTime.Now actually causes the CLR to box an integer (4 bytes) during every call. This could seriously hurt performance for applications that may attempt to reduce dynamic allocations to a minimum (in order to reduce the number of induced GC collections).
|category: C#
|Views: 28
tags:
BCL Internals C# CLR another
Everyones tags:
Your Tags: