Model: cache day and month names for group headers
Reduces the number of allocations and calls into QLocale. The cost are two maps with 7 and 12 QStrings respectively, which can be reused for the whole life-time of the Model.
Showing
Please register or sign in to comment