hyperoslo / hyperoslo/Cache

How to set cost on MemoryConfig? Does the totalCostLimit even work?

Open
#332 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
3.1k
Forks
355
PR merge metrics
No merged PRs in 30d

Description

On 'MemoryStorage' class NSCache is created. How do I set the cost while adding the object? The totalCostLimit is passed to the NSCache eventually but since we cannot set the cost anywhere - will that serve any purpose?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.