Kim suggests that we replace:
#define is_aligned_(size, alignment) ((size) == (align_up_((size), (alignment))))
with:
#define is_aligned_(size, alignment) (((size) & align_mask(alignment)) == 0)
to make the expression "simpler, faster, and avoid multiple evaluation of the size expression"
#define is_aligned_(size, alignment) ((size) == (align_up_((size), (alignment))))
with:
#define is_aligned_(size, alignment) (((size) & align_mask(alignment)) == 0)
to make the expression "simpler, faster, and avoid multiple evaluation of the size expression"