Good point - but I'd at least prefer two methods as you suggested, to reduce branching. But this might be just my no-branching style from GPGPU-Programming.