Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: intersection observer performance #908

Merged
merged 1 commit into from
Nov 30, 2021

Conversation

temper357
Copy link
Contributor

计算 intersection observer layer 的 transform 时加缓存, layer 向上 multiply transform 时公共的 layer transform 不用重复计算,提升计算性能。

@yuanyan
Copy link
Contributor

yuanyan commented Nov 26, 2021

如果在算法上无法进行优化,考虑分散计算任务,单次任务最多处理16ms,如果在本次还有没有跑完的计算,需要把剩下的任务放到下一个帧进行处理

@temper357 temper357 changed the title [WIP] fix: intersection observer performance fix: intersection observer performance Nov 26, 2021
@wssgcg1213 wssgcg1213 merged commit a62546f into main Nov 30, 2021
@wssgcg1213 wssgcg1213 deleted the refactor/intersection-observer branch November 30, 2021 07:34
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.

None yet

3 participants