Akryum / Akryum/vue-virtual-scroller

Improve RecycleList performance for big amounts of items

Aberta
#443 0 comentários 0 reações 0 responsáveis Ver no GitHub
question
Linguagem predominante
TypeScript
Estrelas
10.8k
Forks
973
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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?

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.