Browse Source
Previous implementation used QRegExp to find a first digit. That is utterly ineffective. When torrent list is sorted by name (a column that uses the naturalSort() for comparison), naturalSort could take 18.6% of the time of the UI thread. Optimize it so now it takes 1% of the time of the UI thread.adaptive-webui-19844
Ivan Sorokin
10 years ago
1 changed files with 22 additions and 10 deletions
Loading…
Reference in new issue