Friday February 5th

1 Kicks

DateTime.Now Causes Boxing

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).


Commenting on Stories is limited for now and will open up to those recommended by the community. Learn how
Loading DotNetKicks...
brought to you by the Kicks Network