DateTime.Now Causes Boxing(beyondthespec.com)

submitted by lirancliranc(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).

add a comment |category: |Views: 28

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story