justinmfischer / SwiftlyLRU

SwiftlyLRU is a pure Swift Least Recently Used "LRU" Cache. Older items that have not been recently used are discarded from the cache. This is the ideal pattern for large lists and infinite scrolling. The time, space complexity is O(1) and thanks to generics any values can be stored. Simply drag SwiftlyLRU.swift into your project to get started!…
56Updated 3 years ago

Related projects

Alternatives and complementary repositories for SwiftlyLRU