Re:Six times faster than C
by rajnathani on Saturday July 08, 2023 @07:56AM
(#36643537)
This seems like the most efficient solution. I have a neighboring comment on this post which suggests using bit arithmetic, but the above solution is more efficient than that. Here’s what the assembly code for the body of the first loop compiles down to (I had to use ChatGPT-4 as godbolt unfortunately doesn’t work on mobile):
[ Parent
| on HN ]
There are no comments on this comment yet.