Ticket #59 (enhancement)
Opened 2 years ago
Sorting enhancements
Status: new
| Reported by: | pvanhoof | Assigned to: | pvanhoof |
|---|---|---|---|
| Priority: | major | Milestone: | A second release |
| Component: | libtinymailui-gtk | Version: | 2.0 |
| Keywords: | Cc: | ||
The TnyGtkHeaderListModel (which might become a TnyGtkHeaderTreeModel after #45) sorts using the default sorting infrastructure of GtkTreeModel. This is extremely inefficient with strings (the date-received, date-sent and size and flags will sort quickly enough with this).
The reason for this is strcmp on ALL the mmap-ed data, causing loads of swap-ins of mmap-ed pages.
An offline index can be built for this, cached sorts can be created, sort-scores per item per column can be stored (offline): there are many possibilities ...
