Skip to content

Comments

optimize cache size calculation#35

Open
wang9262 wants to merge 1 commit intoTencent:masterfrom
wang9262:cache-optimize
Open

optimize cache size calculation#35
wang9262 wants to merge 1 commit intoTencent:masterfrom
wang9262:cache-optimize

Conversation

@wang9262
Copy link

Current cache size calculates everytime when cacheImage: URL: calls,which will cause unnecessary traverse.When collectionView or tableview scroll fast,this will be somehow bottleneck.

So store the cost in every node may be more efficient.

@tencent-adm
Copy link
Member

tencent-adm commented Jul 20, 2019

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants