DateTime.Now Causes Boxing(blog.liranchen.com)
submitted by
liranc(190) 1 year, 9 months ago
Have you known that every time you call DateTime.Now the BCL causes a dynamic memory allocation due to unnecessary boxing?
This post dives into the implementation of the property, explain why this boxing occurs, and what can we do to in order to avoid id
|category: CLR
|Views: 14
tags:
Memory Profiling CLR C# Performance another
Everyones tags:
Your Tags: