Akryum / Akryum/vue-virtual-scroller
Improve RecycleList performance for big amounts of items
未關閉
question
- 主要語言
- TypeScript
- 星號
- 10.8k
- 分支
- 973
- PR 合併指標
- 30 天內沒有已合併 PR
描述
I traced the performance of a recycle list with 100.000 items and found that the check for expired items for updateVisibleItems(true):
https://github.com/Akryum/vue-virtual-scroller/blob/e4b28fa5dc14add1ba45e378d538656cd9de4959/src/components/RecycleScroller.vue#L392
takes a lot of time, especially for rendering the bottom part of a list similar to what you experience in Chat views (higher indexes, longer search). For my case it would be enough to introduce a new prop that declares the items list as readonly and skips the check. What do you think?
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。