FrozenDictionary under the hood

#528 – October 20, 2024

How fast is it comparing to Dictionary and why

FrozenDictionary under the hood: how fast is it comparing to Dictionary and why
11 minutes by Alexey Fedorov

The main feature of this dictionary is that it’s immutable, but allows reading the data faster comparing to a plain Dictionary.

The next era of customer engagement is here 🤯 - Twilio Segment CDP Week 2024 - Virtual
sponsored by Twilio

At Segment's CDP Week, we’re bringing together experts to share their experiences from the frontlines to show you how it’s never been easier to deliver personalized engagement within the AI era. Join us for our 4th annual virtual CDP Week to hear insights from industry leaders at Fidelity, IBM, Google Cloud, and more on how they are making every customer interaction personal. Register free here.

How fast can you parse a CSV file in C#?
4 minutes by Daniel Lemire

The article discusses parsing large CSV files in C# and compares different methods for performance. It starts with a simple line counting approach, then tests popular libraries like CsvHelper and NReco.Csv, achieving speeds of 0.28 GB/s and 0.33 GB/s respectively.

Safety and simplicity with LINQ: Working with the result pattern
14 minutes by Andrew Lock

This article discusses the implementation of the result pattern using LINQ in C#. It demonstrates how to refactor complex, nested code using Result into a more readable and concise form using LINQ's query syntax.

Building your own wc tool in C#
4 minutes by Ricardo Mauro

The Unix wc (word count) tool is a classic command-line utility that counts the number of lines, words, and characters in a text file. In this post, we'll work on a minimalistic version of this tool using C#.

Digging into the undocumented .NET events from the BCL
3 minutes by Christophe Nasarre

When you look for these BCL events in the documentation, you end up to this well-known event provides in .NET page and in the Framework libraries section. It lists the providers with their name and the emitted events with their keyword and verbosity. However, there is no detail about their payload.

newsletters