<pkhuong> juste pour toi, GCC-only:
<pkhuong> #define map_bit_indices(VAR, EXPR) \
<pkhuong> ({ \
<pkhuong> uint32_t __ret__ = 0; \
<pkhuong> for (uint32_t VAR = 0, __bit__ = 1; VAR < 32; VAR++, *= 2) \
<pkhuong> if (EXPR) __ret__ |= __bit__; \
<pkhuong> __ret__; \
<pkhuong> })
<mblondin> wtf
<networkdump> __unroll_my_penis_so_it_goes_faster__

#393 - 12/06/2009 20:42