Hacker News new | ask | show | jobs
by tedunangst 753 days ago
The nil check is not more expensive.
1 comments

Did you read the article? It clearly show that it is. I just don't understand why.
Calling errors.Is is slower than not calling errors.Is.