Built a C++17 limit order book matching engine. Rebuilt it twice. The constraint: every operation on an LOB needs to be O(1). Add, cancel, match, query best bid/offer. That rules out trees, sorted lists, and anything that heap-allocates on the hot path. V1 used std::map + std::deque. Red-black tree for price levels, deque per level. It worked, but it scattered price nodes across the heap. Every match was a cache miss walk. ~800K orders/sec, p999 45μs. V2 replaced the map with a flat array indexed by integer price tick. Contiguous memory, O(1) lookup. 1.3M orders/sec. Cancels were still O(n) because deque has no O(1) removal. V3 replaced the deque with an intrusive doubly-linked list. Each Order struct carries prev/next pointers. Cancel is 3 pointer swaps. 2.7M orders/sec, p99 900ns, p999 3.4μs. 3.31x over V1. 13x tail latency. Other things in there: arena allocator (one malloc, O(1) slab alloc, no new/delete on the hot path), template callbacks on submitOrder() for zero heap allocation during matching, integer tick pricing to kill IEEE 754 equality failures, Limit/Market/IOC/FOK with FOK doing a dry liquidity scan before committing fills, FIFO price-time priority. The benchmark (benchmark_comparison.cpp) runs all three architectures against the same 2M-order workload. Fixed RNG seed, same price and quantity distributions. Prints p50/p90/p99/p999 per architecture and exports CSV. Speedup ratios computed relative to V1. 21 unit tests.