Ask HN: What Is More Compute Efficient Between Golang's If and Switch Statements
https://news.ycombinator.com/item?id=37071216I am curious to know which between the two is more efficient and how they work under the hood.
Thanks in advance.
I am curious to know which between the two is more efficient and how they work under the hood.
Thanks in advance.