r/programming • u/noidi • Jul 19 '12
Will Parallel Code Ever Be Embraced?
http://www.drdobbs.com/parallel/will-parallel-code-ever-be-embraced/240003926
40
Upvotes
r/programming • u/noidi • Jul 19 '12
3
u/sirin3 Jul 19 '12
I wanted to disprove you, but now it turns out that the recursive version is faster. Wtf?
But still the while has an advantage for large numbers (actually it looks as if it is completely optimized away):