节点文献
高效渲染长列表的研究
Research on Efficient Rendering of Long List
【摘要】 为了解决长列表渲染下页面卡顿的问题,文章总结并实现了当前开发过程中最高效的两种渲染长列表的方式,分页加载和虚拟加载,并在虚拟加载的基础上对其进行了合理优化,降低了它的计算复杂度,扩大了它的使用场景。这两种方式都是通过将长列表进行切片处理,分割成一个个的短列表,根据用户操作,不断的更新渲染对应的短列表,进而提高页面的性能。文章深入探索了这两种方式的实现原理和底层结构,并从开发难度、性能提升、扩展性、设计思想、适用场景等方面进行了比较。
【Abstract】 In order to optimize the problem of page stutter under long list rendering, this article summarizes and improves the two most efficient ways to render lists in the current development process, page loading and virtual loading, on the basis of the virtual load was carried out reasonably optimized to reduce its computational complexity, expanded its usage scenarios. In these two methods, the long list is sliced and divided into short lists. According to user operations, the corresponding short list is continuously updated and rendered, which improves the performance of the page. This article explores the implementation principles and underlying structure of these two methods in depth, and compares them in terms of development difficulty, performance improvement, scalability, programming ideas, and applicable scenarios.
【Key words】 long list; paged loading; virtual loading; performance improvement;
- 【文献出处】 网络新媒体技术 ,Network New Media Technology , 编辑部邮箱 ,2020年05期
- 【分类号】TP393.09
- 【下载频次】22