Sign in

Lukas Vogel

@lukasvogel.bsky.social
20 followers 17 following 0 posts
PostsRepliesMedia
Reposted by Lukas Vogel
CedarDB @cedardb.com · 29/01/2025
We follow up on our past claims that fewer code branches are better in our return to blogging after our winter break. Read on to find out why branches are a burden on the CPU, and what both you and the CPU can do to avoid performance penalties. cedardb.com/blog/reducin...
cedardb.com
Why Trees Without Branches Grow Faster: The Case for Reducing Branches in Code
In some of our blog posts, we explained what steps we take to reduce the number of branching instructions in our critical paths. However, we only ever claimed that this is much better and faster, and ...
073