4 ms·
Wow! I like your C solution. I'm glad that at least the speedup is still measurable, but it's a close shave. I implemented your "free 2x speedup" in asm [1]. S
by davidad_ 13y ago
Wow! I like your C solution. I'm glad that at least the speedup is still measurable, but it's a close shave.
I implemented your "free 2x speedup" in asm [1]. Sure enough, solution time improved to 4.6us on my machine [2].
[1] https://github.com/davidad/8queens/commit/61119a7f0019e4a85ee7e9454d6a4b4503fbaeb2 https://github.com/davidad/8queens/commit/61119a7f0019e4a85e...
[2] https://github.com/davidad/8queens/tree/free-2x-speedup https://github.com/davidad/8queens/tree/free-2x-speedup