Grilled Cheese

ExploreLog inSign up
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-12-03 22:42:33 EST

PhotosVideosAllPeople
LatestRanked
@dotnetdave.bsky.socialDec 3, 2026, 5:22 PM

There are several approaches to creating objects in .NET. Curious about the most performant method? Discover the answer in this article.
dotnettips.wordpress.com/2024/03/06/g...
#dotnet #CodePerformance #MVPBuzz

dotnettips.wordpress.comGeneral Performance Tip: Creating an ObjectThe author explores various object creation methods in .NET, highlighting performance differences. While the conventional “new” keyword proves to be the most efficient, other approaches…
@dotnetdave.bsky.socialDec 2, 2026, 4:30 PM

New performance article for .NET engineers: Range expressions make collection slicing clean and readable, but are they the right choice for hot paths?
Learn what to consider when slicing with Span, Memory, and ReadOnlySpan.
dotnettips.com/2026/08/30/c...
#MVPBuzz #dotnet #codeperformance

dotnettips.comCollection Performance: Use Caution when using Range Expressions in Hot Paths when Collection SlicingRange expressions make collection slicing concise, but they can introduce unexpected overhead in hot paths. This subscriber-only article compares several ways to create slices with `Memory`, `Span`…
@dotnetdave.bsky.socialNov 27, 2026, 4:17 PM

In .NET, returning default, null, or an empty collection is not just style; it can hit performance too.
Don’t let sloppy returns trash your encore. Read this and rock your code!
#dotnet #MVPBuzz #CodePerformance
dotnettips.com/2024/04/08/g...

dotnettips.comGeneral Performance: Optimizing Method ReturnsModern best practices in method design emphasize returning empty collections instead of null values when no items are found, enhancing code safety and clarity.
@dotnetdave.bsky.socialNov 19, 2026, 4:02 PM

🎸 Don’t let your dictionary adds turn into performance feedback squeals!
Master the right patterns for adding items in .NET collections and keep your code tight and screaming with speed.
Rock the performance 👇
#dotnet #dotnet10 #MVPBuzz #CodePerformance
dotnettips.wordpress.com/2024/01/19/c...

dotnettips.wordpress.comCollection Performance: Adding Items To a DictionaryThe excerpt from “Rock Your Code” discusses two methods for adding items to a Dictionary in .NET: Add() and TryAdd().
@dotnetdave.bsky.socialNov 16, 2026, 5:07 PM

Discover the surprising truth about static vs. non-static methods' performance in coding! 🔍📊 Check out the insightful findings and implications here. dotnettips.wordpress.com/2024/05/16/c...
#dotnet10 #MVPBuzz #CodePerformance #dotnet

dotnettips.wordpress.comCode It Any Way You Want: Performance Difference Between Static and Non-Static MethodsMost code analysis tools advocate for static methods due to perceived performance benefits. However, benchmarks indicate that non-static methods often outperform static ones despite avoiding instan…
@dotnetdave.bsky.socialNov 12, 2026, 8:21 PM

Mastering substring extraction in C# with slicing! 🚀 Learn how to efficiently obtain substrings using the slice technique or the AsSpan() method. Check out the article here: dotnettips.wordpress.com/2024/04/10/s...
#dotnet #dotnet10 #MVPBuzz #CodePerformance

dotnettips.wordpress.comString Performance: Optimizing String Substring Extraction – Slicing vs. AsSpan()The content presents an alternative approach to obtaining a substring using slicing with ReadOnlySpan and AsSpan() methods.
@dotnetdave.bsky.socialNov 11, 2026, 4:07 PM

Want faster hash code generation in .NET? Explore how RuntimeHelpers.GetHashCode() can boost your app's performance by up to 87x! Learn more and check out the new FastGetHashCode() method in Spargine. 🔥
dotnettips.wordpress.com/2024/09/08/o...
#dotnet #CodePerformance #MVPBuzz

dotnettips.wordpress.comOptimizing Hash Code Generation in .NET: A Performance ComparisonThis article discusses the importance of hash codes in programming and optimization techniques in Microsoft .NET. It explores different methods for generating hash code.
@dotnetdave.bsky.socialNov 11, 2026, 4:06 PM

⚡️ Just dropped the 5th edition of Rock Your Code: Code & App Performance for Microsoft .NET — the ultimate performance riff for modern .NET devs. Real benchmarks, real speed, real power. Ready to make your code scream? 🤘📈 🔗
#dotnet10 #MVPBuzz #CodePerformance
dotnettips.wordpress.com/2026/01/01/r...

dotnettips.wordpress.comRock Your Code: Code & App Performance for Microsoft .NET (5th Edition)The fifth edition of David McCarter’s book, “Röck Yöur Cöde: Code & App Performance for Microsoft .NET,” is now available on Amazon. It offers practical techniques for enhanci…
@dotnetdave.bsky.socialNov 6, 2026, 3:49 PM

Are you still checking characters in strings the old way in .NET? 👀
There’s a smarter, cleaner approach that can make your code faster and more efficient.
Read the full breakdown here: 🔗
#dotnet #dotnet10 #MVPBuzz #CodePerformance
dotnettips.wordpress.com/2024/05/08/s...

dotnettips.wordpress.comString Performance: Checking for a CharacterThe article compares two methods of checking for the presence of a specific character in a string in C#.
@dotnetdave.bsky.socialOct 29, 2026, 8:16 AM

Type conversion in .NET may look like a small riff but pick the wrong move and your performance can start playing flat.
I break down the common approaches, the safer options, and which one really brings the heat.
#dotnet #MVPBuzz #CodePerformance
dotnettips.com/2024/05/10/g...

dotnettips.comGeneral Performance: Type ConversionIn .NET programming, type conversion can be done using explicit casting, the “as” keyword, or the declaration pattern for improved safety and readability. The declaration pattern effici…
@dotnetdave.bsky.socialOct 29, 2026, 8:13 AM

If your .NET code relies on Substring(), this article could change how you think about string performance. ✨
Full explanation here.
#dotnet #dotnet10 #CodePerformance #MVPBuzz
dotnettips.wordpress.com/2024/01/22/s...

dotnettips.wordpress.comString Performance: Retrieving a SubstringThe post discusses optimizing string concatenation in .NET by using the Span type, which significantly enhances performance and reduces memory allocation.
@dotnetdave.bsky.socialOct 26, 2026, 8:24 PM

String performance in .NET:
One tiny choice. Big runtime implications.
If you care about clean, fast code, you’ll want to read this.
#dotnet10 #CodePerformance #MVPBuzz
dotnettips.wordpress.com/2026/01/25/s...

dotnettips.wordpress.comString Performance: The Fastest Way to Get a String’s LengthRetrieving the character count of a string in .NET has various methods: using Span with Length, Length, or Enumerable.Count(). This article will prove which is the fastest method.
@dotnetdave.bsky.socialOct 23, 2026, 8:02 AM

📈 Can pattern matching make your .NET code faster? This performance tip breaks it down with real examples — a must-read for devs!
#dotnet10 #MVPBuzz #CodePerformance
dotnettips.wordpress.com/2024/04/19/g...

dotnettips.wordpress.comGeneral Performance Tip: Can Pattern Matching Improve Performance?The article discusses the potential performance improvements gained by leveraging pattern matching in .NET. It contrasts a traditional method for rounding numbers with a more refined version employ…
@dotnetdave.bsky.socialOct 22, 2026, 7:32 AM

🚀 Boost your .NET code efficiency! Learn best practices for array allocation and improve performance with tips from the .NET team. Check it out!
#dotnet10 #MVPBuzz #CodePerformance #dotnet
dotnettips.wordpress.com/2025/03/05/m...

dotnettips.wordpress.comMicrosoft .NET Code Analysis: Creating Empty ArraysArrays are popular in .NET for their efficiency. The .NET team recommends avoiding zero-length allocations, opting instead for Array.Empty() or using the [] expression for creating empty arrays. Th…
@dotnetdave.bsky.socialOct 20, 2026, 7:52 PM

Not all Enum name retrieval methods riff at the same speed.
If you’re still using the usual approach without thinking about the cost, this one’s for you.
Turn it up here!
#dotnet #MVPBuzz #Enums #CodePerformance
dotnettips.com/2024/05/01/g...

dotnettips.comGeneral Performance: Optimizing Enum Value Name RetrievalThe article delves into the optimization of Enum value name retrieval in .NET, comparing three approaches. It demonstrates that one of these methods is 13.3 times more efficient, with no memory all…
@dotnetdave.bsky.socialOct 20, 2026, 7:51 PM

Random number generation should hit like a power chord, not drag like a weak soundcheck.
This .NET performance tip shows a faster way to get the job done.
#dotnet #MVPBuzz #CodePerformance
dotnettips.com/2024/03/27/g...

dotnettips.comGeneral Performance: Optimizing Random Number GenerationThe .NET Random type generates random numbers effectively, but using RandomNumberGenerator is significantly more efficient, offering a 7.08× speed increase. Both methods allocate equal memory; howe…
@dotnetdave.bsky.socialOct 20, 2026, 7:50 PM

Shuffling collections isn’t a toy problem. 🪀
In .NET 10, the wrong shuffle can quietly dominate your runtime.
I ran the benchmarks and analyzed the results.
#dotnet10 #MVPBuzz #Collections #CodePerformance
dotnettips.wordpress.com/2026/01/18/c...

dotnettips.wordpress.comCollection Performance: High-Performance Collection Randomization in .NETThe article examines shuffling options in .NET 8, highlighting the performance of three APIs: LINQ.Shuffle(), Random.Shuffle(), and RandomNumberGenerator.Shuffle().