Swift

Build An LRU Cache In Swift

An LRU cache is a perfect little systems problem: a dictionary for O(1) lookup plus a linked list for recency. Let's build one in Swift, test it, and talk about when OrderedDictionary is the simpler app-level choice.

Read more
Trevor Whittingham

I'm Trevor, a Swift developer working mainly in iOS 📱. This blog is where I share my learnings, thoughts & insights. Thanks for reading!

Featured Posts: