From Naive Decode to KV Cache: Why LLM Serving Gets Faster With One Idea — Part 1 of NanoServe, a tiny LLM inference engine build series. This article covers the naive decode loop to hand-threaded KV cache — why reusing Key/Value tensors instead of recomputing them turns a quadratic decode loop into a linear one, and what that's worth in practice.