Open abihf opened 3 months ago
There's memory leaks when using custom fonts with huge data. I can disable fontLayoutCache but the performance is 3x slower.
fontLayoutCache
I think we should use lru instead of simple object here
//TODO:
Can you provide a PR?
Bug Report
Description of the problem
There's memory leaks when using custom fonts with huge data. I can disable
fontLayoutCache
but the performance is 3x slower.I think we should use lru instead of simple object here
Code sample
Your environment