String Concatenation vs Memory Allocation(blog.cumps.be)

submitted by CumpsDCumpsD(360) 4 years, 4 months ago

Over the years, plenty has been written about string performance, lots of comparisons between String.Concat and StringBuilder. Today I decided to do some of my own research into the subject and contribute to the knowledge already out there. More specifically, I'll be taking a look at the memory usage for various concatenation methods.

3 comments |category: |Views: 73

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:

posted by jamesewelchjamesewelch(2275) 4 years, 4 months ago 0

Nice article. Very detailed. I liked the exact details on the IL and the graphs from the profiler. What tool did you use to profile the code?

Reply

posted by w3stfa11w3stfa11(645) 4 years, 4 months ago 0

Thanks for the link, CumpsD.

Reply

information Login or create an account to comment on this story