OP — If this comp_nearest is still a hot path for you or if you want to generate more articles, consider testing:
1. using `restrict` to tell that compiler that src and dest are sure not to overlap
2. Converting your two increment and test blocks to add+mod to allow for uninterrupted pipelining
Neither might make a difference, but either could.