Ignore:
Timestamp:
Jan 6, 2012, 6:24:35 PM (8 years ago)
Author:
ksherdy
Message:

Removed debug statements.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/byte_compare.hpp

    r1827 r1828  
    3131IDISA_ALWAYS_INLINE bool overlap_compare(const T * x, const T * y) {
    3232    bool accum = true;
    33 //cout << "accum: " << accum << endl;
    34 
    3533    uint8_t * p_x = (uint8_t *)x;
    3634    uint8_t * p_y = (uint8_t *)y;
    3735
    3836    for(int i=0; i < L/sizeof(T); i++) {
    39 
    40 //cout << "x " << *( (T*)(p_x) ) << endl;
    41 //cout << "y " << *( (T*)(p_y) ) << endl;
    42 //      cout << compare(p_x,p_y,0) << endl;
    4337        accum = accum && compare(p_x,p_y,0);
    4438        p_x += sizeof(T);
    4539        p_y += sizeof(T);
    46 //cout << (void *)p_x << endl;
    47 //cout << (void *)p_y << endl;
    48 //cout << "accum: " << accum << endl;
    4940    }
    5041    if(L & (sizeof(T)-1)) {
    51 //      cout << L - sizeof(T) << endl;
    5242        accum = accum && compare(x,y,L-sizeof(T));
    53 
    54 //cout << "x " << *( (T*)( (uint8_t *)x + L-sizeof(T)) ) << endl;
    55 //cout << "y " << *( (T*)( (uint8_t *)y + L-sizeof(T)) ) << endl;
    56 
    57 //cout << "accum: " << accum << endl; 
    58   }
     43    }
    5944    return accum;
    6045}
Note: See TracChangeset for help on using the changeset viewer.