Ignore:
Timestamp:
Jun 5, 2008, 8:21:56 PM (14 years ago)
Author:
charles
Message:

bitfield speedups written by denis. Thanks!

File:
1 edited

Legend:

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

    r6008 r6058  
    663663        tr_block_index_t block;
    664664
     665        assert( tr_bitfieldTestFast( t->requested, end ) );
     666
    665667        for( block=begin; block<end; ++block )
    666668        {
     
    670672            ++blockCount;
    671673
    672             if( tr_bitfieldHas( t->requested, block ) )
     674            if( tr_bitfieldHasFast( t->requested, block ) )
    673675            {
    674676                const uint32_t n = reqCount[priorityIndex]++;
Note: See TracChangeset for help on using the changeset viewer.