Y
Hacker News
new
|
ask
|
show
|
jobs
by
jrockway
4995 days ago
C is also unpredictable: see the article from a couple days ago entitled "Why does my function run faster when the input array is sorted?"
(The answer was: branch prediction.)
1 comments
to3m
4995 days ago
I'm not sure that counts in the same way. You would have the branch prediction issue even if you program in assembly language and have precise control over the instructions the computer executes.
link