Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

LayoutHelper核心链路性能优化 #424

Merged
merged 14 commits into from
Jan 25, 2019
Merged

Conversation

littleseven
Copy link
Collaborator

No description provided.

longerian and others added 14 commits May 16, 2018 19:48
This reverts commit dd6446f.
# Conflicts:
#	examples/src/main/java/com/alibaba/android/vlayout/example/VLayoutActivity.java
#	vlayout/src/main/java/com/alibaba/android/vlayout/VirtualLayoutManager.java
1.LinkedList的高效遍历,复杂度降低一个数量级,在2000+元素个数下无卡顿
2.排序过程简化,复用中间数组
3.二分搜索避免LinkedList的get频繁调用,复用数组根据索引直接定位
@CLAassistant
Copy link

CLAassistant commented Jan 23, 2019

CLA assistant check
All committers have signed the CLA.

@MikeAfc MikeAfc merged commit 8b94f2c into develop Jan 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants