Is there a faster TList implementation?

前端 未结 4 1559
遇见更好的自我
遇见更好的自我 2021-01-01 02:11

My application makes heavy use of TList, so I was wondering if there are any alternative implementations that are faster or optimized for particular use case.

I know

4条回答
  •  既然无缘
    2021-01-01 03:04

    The fastest data structure is usually not a data structure at all, but instead a mock that pulls data only as it's needed, much like Virtual Treeview does. Perhaps you can write some sort of TVirtualList that calls the appropriate functions to gather the required data when the elements are requested.

提交回复
热议问题