Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

Image cache support #12

Closed
dzenbot opened this issue Jul 3, 2016 · 0 comments
Closed

Image cache support #12

dzenbot opened this issue Jul 3, 2016 · 0 comments

Comments

@dzenbot
Copy link

dzenbot commented Jul 3, 2016

I was thinking of adding a cache layer to keep a reference of generated image instances. This could be helpful specially when the same icon with color and scale are requested multiple times.
Just putting this out there to see what users think. This is low priority for now.

At first, I was thinking of a NSCache wrapper but then discovered the power of LRU caches and seems more appropriate. I would hate having to add yet another dependency to this library, so maybe creating our own LRU cache implementation makes sense? Wouldn't know where to start tho, so any help is greatly appreciated!

@dzenbot dzenbot changed the title Cache support Image cache support Feb 15, 2017
@frenck frenck closed this as completed Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants