Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
seedragons
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
seedragons
5y ago
Not a single "hot air" joke? Not sure to be impressed everyone's more mature than me or disappointed.
2.
▲
by
seedragons
9y ago
Ah I see, I assumed it was a penalty for only mis-guessed, not the number of cycles required to evaluate the statement. Thanks!
3.
▲
by
seedragons
9y ago
Is this correct? "Without branch prediction, we then expect the “average” instruction to take branch_pct * 1 + non_branch_pct * 20 = 0.8 * 1 + 0.2 * 20 = 0.8 + 4 = 4.8 cycles" other than branch_pct and non_branch_pct being reverse