2 ms·
At least two bugs: the test should compare vdst to vsrc, not * vdst to * vsrc, and in the first branch you're copying vsrc[n] which is out of range (and skippin
by abecedarius 15y ago
At least two bugs: the test should compare vdst to vsrc, not * vdst to * vsrc, and in the first branch you're copying vsrc[n] which is out of range (and skipping vsrc[0]).
- antihero 15y agoThe first bug I'm confused? Surely we want to use the * because we're comparing the position in memory, not what's in the memory? Or does the * mean "compare what is in that memory slot"? Second bug, cheers. http://news.ycombinator.com/item?id=3214807 http://news.ycombinator.com/item?id=3214807