Freestyle linked lists tricks
A technical guide exploring advanced linked list techniques in C, including memory allocation, traversal, and performance optimization.
A technical guide exploring advanced linked list techniques in C, including memory allocation, traversal, and performance optimization.
Analyzes C# performance benchmarks for slicing lists, comparing Skip/Take, Range operator, and GetRange methods, highlighting a common benchmarking error.
Explores performance improvements in .NET 10's HttpClient, focusing on reduced memory allocation and faster response times for streaming data.
Explains how to avoid unnecessary closure allocations when using ConcurrentDictionary.GetOrAdd in C# for better performance and concurrency.
Explains how to improve C# performance by using AsSpan instead of Substring to reduce memory allocations and overhead.
A developer's personal experience and insights on error handling in Zig, focusing on memory allocation failures and the 'try' keyword.
Introduces a .NET tips and tricks website and a high-performance ValueStringBuilder project, showcasing low-allocation string building techniques.
Explains how to measure heap allocations in .NET and reveals that an empty array consumes 24 bytes due to object overhead.
A guide to creating a low-allocation, faster StringBuilder alternative in C# using Span<T> for improved performance in string concatenation.
Explains a surprising heap allocation in a Go benchmark when sorting strings, diving into interface internals and compiler behavior.
Explains virtual memory, MMU, page tables, and how processes use memory mapping and swap space.
Explains how strings in .NET are objects subject to garbage collection, analyzing their memory allocation and behavior.
Explains how the .NET Garbage Collector works and provides techniques to reduce memory allocations for faster applications.
Analyzes performance inefficiencies in LINQ queries, including hidden allocations, and offers optimization techniques for C# developers.
Explores benchmarking tools and techniques using a Stack Overflow code example, focusing on performance optimization and avoiding allocations.
A deep dive into using BenchmarkDotNet to analyze memory allocations and performance differences between string concatenation and StringBuilder in C#.
A PowerCLI one-liner to calculate total allocated memory for powered-on VMs in a VMware vCenter environment.
Explains performance issues with ToArray/ToList and proposes a custom extension method to optimize them by providing the element count.