Since most of the types and collections I create are typically business objects, I wondered if collections of simpler types would be faster. I decided to benchmark the difference between a List (reference type) with a List (value type).
[New post] Collection Performance: Looping Over Reference Type vs. Value Type
Older messages
[New post] Collection Performance: Looping Over Collection – Array vs. List
Wednesday, October 27, 2021
dotNetDave posted: "Most of the benchmarks these articles tests a collection is doing so using List<> that uses a real-world business object (Person). I was curious about how that would
[New post] Collection Performance: Sorting the Record Type
Tuesday, October 26, 2021
dotNetDave posted: " Subscriber Content The new class type called record in .NET in many cases can really speed things up in your code. I have previously written about the new record type in the
[New post] Collection Performance: Sorting Collections
Monday, October 25, 2021
dotNetDave posted: " Subscriber Content There are several ways to sort a collection in .NET. Some of the sorting methods are part of LINQ. Let's look at the methods that are part of the System
[New post] Collection Performance: Looping Over Other Collection Types
Friday, October 22, 2021
dotNetDave posted: " Subscriber Content I would guess that most code that is written defines a collection like this: var collection = new List<Person>(); Using List<> is perfectly fine
[New post] Collection Performance: Converting a List to Different Collection Types
Thursday, October 21, 2021
dotNetDave posted: "What if you already have a collection in memory, like after calling a service or database, and you need to return it as a different collection type? public Person[]
You Might Also Like
Software Testing Weekly - Issue 261
Wednesday, March 12, 2025
New AI solutions for testing 👀 View on the Web Archives ISSUE 261 March 12th 2025 COMMENT Welcome to the 261st issue! I have nothing more to add to the genuinely great news that came out recently. I
JSK Daily for Mar 11, 2025
Tuesday, March 11, 2025
JSK Daily for Mar 11, 2025 View this email in your browser A community curated daily e-mail of JavaScript news How to Enforce Type Safety in FormData with TypeScript When working with the FormData
Binary Data, Tail Calls, Pickles, and More
Tuesday, March 11, 2025
Bytes Objects: Handling Binary Data in Python #672 – MARCH 11, 2025 VIEW IN BROWSER The PyCoder's Weekly Logo Bytes Objects: Handling Binary Data in Python In this tutorial, you'll learn about
Shaking The Wasp’s Nest 🐝
Tuesday, March 11, 2025
How Gamergate swarmed into our online lives. Here's a version for your browser. Hunting for the end of the long tail • March 11, 2025 Today In Tedium: You probably have noticed, just like me, that
Daily Coding Problem: Problem #1714 [Easy]
Tuesday, March 11, 2025
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. You are given an N by N matrix of random letters and a dictionary of words. Find
Mapped | The State of Democracy Around the World 🌐
Tuesday, March 11, 2025
After a historic election year, we show the state of democracy worldwide as it declines to its lowest level in two decades. View Online | Subscribe | Download Our App NEW REPORT: The Age of Data >
Stories, Free Tool & CRM Template
Tuesday, March 11, 2025
Notion stories, smart tools, and a free template to organize your contacts 🔥 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
LW 173 - How to become a Shopify Developer in 2025
Tuesday, March 11, 2025
How to become a Shopify Developer in 2025 Shopify Development news and articles Issue 173 - 03/11
This free AI tool beats Perplexity
Tuesday, March 11, 2025
Ubuntu vs. Debian; The new HR; YouTube randomizer -- ZDNET ZDNET Tech Today - US March 11, 2025 webfeetgettyimages-10141124 DuckDuckGo's AI beats Perplexity in one big way - and it's free to
⚙️ AI bubble bursts (?)
Tuesday, March 11, 2025
Plus: We talk to the CEO of Read AI