Discussion

Ask HN: What Is More Compute Efficient Between Golang's If and Switch Statements

I am curious to know which between the two is more efficient and how they work under the hood.

Thanks in advance.

2 points avithedev 3 years ago 5 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton