I have a SysListView32 that should contain millions of rows and three columns of text A, B, C each <256 characters.
Say, column B has many repetitions (example: column A is the name of the file, column B is the path, and each row is the file system file) and has only 100k different values โโ(instead of several millions).
Is it possible to avoid duplication in RAM of the contents of column B of the ListView GUI element?
Is it possible to populate a ListView only pointers to array elements (taken from the 100k-element array of different values โโof column B) instead of duplicated data?
How to change this to make it work?
LV_ITEM item; item.mask = LVIF_TEXT; item.pszText = "Hello"; ... ListView_SetItem(hList, &item);
source share