Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It's better if it's traverse! (no, really)
By traversing on the entry's TTL we get the opportunity to avoid calculating the time in case there's no TTL. That might give us some extra performance in case of infinitely long-lived keys. The constraint is more powerful, but all the caching implementations will be at least monads, so it's fine. And Clock is only possible to implement in a real scenario for instances of Sync.
- Loading branch information