]> granicus.if.org Git - transmission/commit
(trunk libT) minor CPU improvement to peer-mgr.c's bandwidthPulse()
authorJordan Lee <jordan@transmissionbt.com>
Tue, 10 May 2011 14:41:59 +0000 (14:41 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Tue, 10 May 2011 14:41:59 +0000 (14:41 +0000)
commitd32c5b36c792fde5c58e49b1f1562742dfabf562
treef5de788334abe04a20d72fb227dc25ac1ce933c6
parentffba6a16bde638930fd0a81c3e60439839b2f827
(trunk libT) minor CPU improvement to peer-mgr.c's bandwidthPulse()

We looped through all the torrents 3x to do three separate tasks... instead, loop only once and do the three tasks inside the single loop.
libtransmission/peer-mgr.c