]> granicus.if.org Git - transmission/commit
(trunk libT) torrent-get CPU optimization.
authorJordan Lee <jordan@transmissionbt.com>
Mon, 9 May 2011 04:13:14 +0000 (04:13 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Mon, 9 May 2011 04:13:14 +0000 (04:13 +0000)
commitc0e1cd800774e187f7c500b0c1e63dd4c3cd3940
tree4fa9751ad31e20c831a7f9c1f42704cb5767116f
parent56d56a2e19218dca285412254eda09de9db0ec30
(trunk libT) torrent-get CPU optimization.

Move the tr_torrentStat() call outside of the addField() loop so that it's only called once instead of N times.
libtransmission/rpcimpl.c