You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm open to providing alternative, smarter cache implementations, and updating the default cache used in our animation helper functions. I don't think we can remove or change the behavior of the existing LRUAnimationCache though, since that would be source breaking for consumers.
Which Version of Lottie are you using?
Lottie 3.5.0
Expected Behavior
LRUAnimationCache
should:I'm curious why we're not using a
NSCache
instead.Actual Behavior
The limit is based on number of animations, which can widely vary. It also never clears any cached animations under memory pressure.
The text was updated successfully, but these errors were encountered: