Y
Hacker News
new
|
ask
|
show
|
jobs
by
ack_complete
661 days ago
Bresenham is easy to implement branchlessly using conditional moves or arithmetic. It also produces a regular pattern of branches that is favorable for modern branch predictors that can do pattern prediction.