Tag: Performance
All the articles with the tag "Performance".
-
Work-Stealing Deque Part 1: The Problem with Locks
Why a central task queue becomes a bottleneck, how false sharing kills performance, and building a baseline implementation with locks.
-
Memory Magic Part 4: The Infinite Buffer
Using virtual memory to create a seamless ring buffer with no wrap-around logic.
-
Memory Magic Part 3: The Specialist's Toolkit
Building specialized allocators: free lists, packed arrays, and slot maps with generational handles.
-
Memory Magic Part 2: The Arena Allocator
Stop asking the OS for memory. Learn how to build an Arena: a private memory block where allocation is instant and an entire class of bugs is impossible.