Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jrockway
on Oct 14, 2012
|
parent
|
context
|
favorite
| on:
Guido van Rossum's Performance tips for Python
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.)
to3m
on Oct 14, 2012
[–]
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
(The answer was: branch prediction.)