Changeset 10752


Ignore:
Timestamp:
Jun 14, 2010, 12:48:28 PM (12 years ago)
Author:
charles
Message:

(trunk libT) rejigger the filter order again, based on profiling in cachegrind

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer-mgr.c

    r10751 r10752  
    32883288        return FALSE;
    32893289
    3290     /* not if we just tried them already */
    3291     if( ( now - atom->time ) < getReconnectIntervalSecs( atom, now ) )
    3292         return FALSE;
    3293 
    32943290    /* not if we're both seeds */
    32953291    if( tr_torrentIsSeed( tor ) )
     
    32973293            return FALSE;
    32983294 
     3295    /* not if we just tried them already */
     3296    if( ( now - atom->time ) < getReconnectIntervalSecs( atom, now ) )
     3297        return FALSE;
     3298
    32993299    /* not if they're blocklisted */
    33003300    if( isAtomBlocklisted( tor->session, atom ) )
     
    33213321}
    33223322
    3323 static uint64_t
     3323static inline uint64_t
    33243324addValToKey( uint64_t value, int width, uint64_t addme )
    33253325{
Note: See TracChangeset for help on using the changeset viewer.