Building a priority-expiry LRU cache without heaps or trees in Python | Dark Hacker News