Decide which data structure is best for kcoredirlister lstItems.
Defined as NonMovableFileItemList lstItems;
The results in kcoredirlister_p.h (484).one machine:
The results in one machine:
| | QList | QListBinary | QListBinaryHash | QHash| | QList | QListBinary | QMap | QHash |
| add | 18 | 21 | 24 | 20 |
| add |findByName | 17 | 937| 35 |950 | 20 1.676 | 18 3.355 |
|findByName | 937|Url | 1.953| 969 14 | 1.326 14 | 1.626 || 9,7 |
|findByUrlAll | 1.953| 692 | 66 | 11 | 7,6 | 11 | 7,2 |8,6 |
|findByUrlAll| 692 | 25 | 8,2 | 8,0 |
AddNewItems | 1.9 | 2.0 | 2.6 | 2,8 |
|AddNewItemsV2 (only std::partition)| 1.3 | 1.3 | 2.7 | 3,0 |