mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 04:18:39 +00:00
(trunk web) in Transmission.refilter(), don't rebuild the row array if the filtered + sorted list of torrents hasn't changed. This is a big CPU win on large torrent lists.
This commit is contained in:
@@ -369,6 +369,9 @@ TorrentRow.prototype =
|
||||
getTorrent: function() {
|
||||
return this._torrent;
|
||||
},
|
||||
getTorrentId: function() {
|
||||
return this.getTorrent().getId();
|
||||
},
|
||||
isEven: function() {
|
||||
return this.getElement().className.indexOf('even') != -1;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user