News for hackers. Stuff that matters.
Re:The Weird Concept of Branchless Programming by fwip on Sunday September 28, 2025 @06:00PM (#45408469)
Maybe I'm missing something obvious, but how about:

    vars[1] = var2 + var3;
    vars[2] = var2 - var3;
    ...
    vars[0] = 0;
    var4 = vars[var1];

There are no comments on this comment yet.