Re:How copying an int made my code 11 times faster
by umanwizard on Monday February 20, 2017 @05:08AM
(#13686026)
I think you misunderstood me. I agree that the StackOverflow post has to do with branch prediction. I just meant that I don't think that's why the earlier poster thinks it's parallel to the situation described in the article.
[ Parent
| on HN ]
Re:How copying an int made my code 11 times faster
by alexeldeib on Monday February 20, 2017 @07:29PM
(#13692247)
Ah, my mistake. I thought the OP a bit further up didn't understand the relation of the stack overflow answer to the array question.