Changeset 3540 for proto/xmlschema


Ignore:
Timestamp:
Oct 29, 2013, 11:34:03 AM (6 years ago)
Author:
cameron
Message:

Faster cfzl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/xmlschema/validation_template_onevec_shiporder.cpp

    r3536 r3540  
    125125
    126126#define CONTENT_INDEX 13
    127 
     127static inline int cfzl(long x) { if (x == 0) return sizeof(long)*8; else return __builtin_ctzl(x);}
     128/*
    128129static inline int cfzl(long x){
    129130        unsigned long ux = x;
     
    147148        }
    148149}
     150*/
    149151
    150152static inline void print_gid_vec();
Note: See TracChangeset for help on using the changeset viewer.