bit swap in byte
Author
Message
twofingers
Guru
Joined: 02/06/2014
Location: GermanyPosts: 1102
Posted: 07:19am 26 Jul 2022
matherp said
This one is probably faster
for b%=0 to 255:? bin$((b% * &H0202020202 and &H010884422010) mod 1023,8):next
I like to believe that.
EDIT:
Your solution is
very
sophisticated!
But the CSub is one option more to solve that problem ...
Edited 2022-07-26 17:27 by twofingers